mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-29 16:39:34 +08:00
Fix clang-tidy. (#469)
This commit is contained in:
@@ -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_;
|
||||
|
Reference in New Issue
Block a user