Fix clang-tidy. (#469)

This commit is contained in:
Arthur Sonzogni
2022-08-28 21:30:01 +02:00
committed by GitHub
parent 1e381fcad6
commit 8226c5aea7
7 changed files with 19 additions and 18 deletions

View File

@@ -28,7 +28,6 @@ class RadioboxBase : public ComponentBase {
int* selected,
Ref<RadioboxOption> option)
: entries_(entries), selected_(selected), option_(std::move(option)) {
hovered_ = *selected_;
}
private:
@@ -175,7 +174,7 @@ class RadioboxBase : public ComponentBase {
ConstStringListRef entries_;
int* selected_;
int hovered_;
int hovered_ = *selected_;
std::vector<Box> boxes_;
Box box_;
Ref<RadioboxOption> option_;