diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:19:35 +0300 |
commit | 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (patch) | |
tree | 2053748aba4fd1e01020effe9322757426354d28 /src/gui/widgets/basiccontainer2.h | |
parent | 2577a25f8a4acf587526809fda2ded95875e1222 (diff) | |
download | plus-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.gz plus-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.bz2 plus-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.tar.xz plus-3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9.zip |
Add missing const in gui directory.
Diffstat (limited to 'src/gui/widgets/basiccontainer2.h')
-rw-r--r-- | src/gui/widgets/basiccontainer2.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/widgets/basiccontainer2.h b/src/gui/widgets/basiccontainer2.h index 8de344264..e7cba01d6 100644 --- a/src/gui/widgets/basiccontainer2.h +++ b/src/gui/widgets/basiccontainer2.h @@ -120,7 +120,7 @@ class BasicContainer2: public BasicContainer * @param widget The widget to add. * @see remove, clear */ - virtual void add(Widget* widget); + virtual void add(Widget *const widget); /** * Adds a widget to the container and also specifies the widget's @@ -132,14 +132,14 @@ class BasicContainer2: public BasicContainer * @param y The y coordinate for the widget. * @see remove, clear */ - void addXY(Widget* widget, + void addXY(Widget *const widget, const int x, const int y); // Inherited from Widget - void draw(Graphics* graphics) override A_NONNULL(2); + void draw(Graphics *const graphics) override A_NONNULL(2); - void safeDraw(Graphics* graphics) override A_NONNULL(2); + void safeDraw(Graphics *const graphics) override A_NONNULL(2); protected: /** |