From 3d3290a60d328b6d2a6d3fc4d8d7483583ed13aa Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 13 Dec 2019 22:25:29 +0800 Subject: ... --- src/ui/controls/flex_layout.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/controls/flex_layout.cpp') diff --git a/src/ui/controls/flex_layout.cpp b/src/ui/controls/flex_layout.cpp index cf6d4aad..6491b180 100644 --- a/src/ui/controls/flex_layout.cpp +++ b/src/ui/controls/flex_layout.cpp @@ -44,6 +44,8 @@ void FlexLayout::OnAddChild(Control* child, int position) { } void FlexLayout::OnRemoveChild(Control* child, int position) { + CRU_UNUSED(child) + render_object_->RemoveChild(position); } } // namespace cru::ui::controls -- cgit v1.2.3