diff options
author | crupest <crupest@outlook.com> | 2020-03-18 22:57:08 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-03-18 22:57:08 +0800 |
commit | c5a4f8c11d0d84d85359e5ff03477da5e9f12926 (patch) | |
tree | 47122aa3c07ecc536ca387f416de1179c8203329 /src/ui/controls/container.cpp | |
parent | bfd277f9f621931a1c6ea05ea2cd6d04455cfe67 (diff) | |
download | cru-c5a4f8c11d0d84d85359e5ff03477da5e9f12926.tar.gz cru-c5a4f8c11d0d84d85359e5ff03477da5e9f12926.tar.bz2 cru-c5a4f8c11d0d84d85359e5ff03477da5e9f12926.zip |
...
Diffstat (limited to 'src/ui/controls/container.cpp')
-rw-r--r-- | src/ui/controls/container.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/controls/container.cpp b/src/ui/controls/container.cpp index 4695ad4c..84582d80 100644 --- a/src/ui/controls/container.cpp +++ b/src/ui/controls/container.cpp @@ -11,7 +11,7 @@ Container::Container() { Container::~Container() = default; -void Container::OnChildChanged(Control* old_child, Control* new_child) { +void Container::OnChildChanged(Control*, Control* new_child) { render_object_->RemoveChild(0); render_object_->AddChild(new_child->GetRenderObject(), 0); } |