aboutsummaryrefslogtreecommitdiff
path: root/src/ui/controls/container.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/controls/container.cpp')
-rw-r--r--src/ui/controls/container.cpp2
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);
}