Initialization cleanup (no effect)

This commit is contained in:
Henrik Rydgård committed 2022-11-30 10:15:36 +01:00
1 parent 0ff5e0a955
commit 20a337f25b
2 files changed
+11 -18

No files matched your search

+2 -2
View File
@@ -1287,7 +1287,7 @@ void AnchorLayout::Layout() {
}
GridLayout::GridLayout(GridLayoutSettings settings, LayoutParams *layoutParams)
: ViewGroup(layoutParams), settings_(settings), numColumns_(1) {
: ViewGroup(layoutParams), settings_(settings) {
if (settings.orientation != ORIENT_HORIZONTAL)
ERROR_LOG(SYSTEM, "GridLayout: Vertical layouts not yet supported");
}
@@ -1468,7 +1468,7 @@ void TabHolder::PersistData(PersistStatus status, std::string anonId, PersistMap
}
ChoiceStrip::ChoiceStrip(Orientation orientation, LayoutParams *layoutParams)
: LinearLayout(orientation, layoutParams), selected_(0), topTabs_(false) {
: LinearLayout(orientation, layoutParams) {
SetSpacing(0.0f);
}