From 5cbd0d2cb7086fda592c00dbc3b07d06af95f080 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 30 Aug 2012 22:53:27 +0300 Subject: Add const to more classes. --- src/gui/widgets/windowcontainer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/windowcontainer.h') diff --git a/src/gui/widgets/windowcontainer.h b/src/gui/widgets/windowcontainer.h index 1cec11861..a2d560cbb 100644 --- a/src/gui/widgets/windowcontainer.h +++ b/src/gui/widgets/windowcontainer.h @@ -46,13 +46,14 @@ class WindowContainer : public Container * Schedule a widget for deletion. It will be deleted at the start of * the next logic update. */ - void scheduleDelete(gcn::Widget *widget); + void scheduleDelete(gcn::Widget *const widget); /** * Ensures that all visible windows are on the screen after the screen * has been resized. */ - void adjustAfterResize(int oldScreenWidth, int oldScreenHeight); + void adjustAfterResize(const int oldScreenWidth, + const int oldScreenHeight); private: /** -- cgit v1.2.3-70-g09d2