diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:47:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:47:57 +0300 |
commit | b226f23946987a649fb50bc6d9df2dd8afa7ade1 (patch) | |
tree | 25dc0c5e10d9db78d1eb463b3c98070ccc89a8bb /src/gui/widgets/itemcontainer.h | |
parent | 1a9ffd99f2b199501bf0f23e368bcd91d05fd277 (diff) | |
download | manaverse-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.gz manaverse-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.bz2 manaverse-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.xz manaverse-b226f23946987a649fb50bc6d9df2dd8afa7ade1.zip |
Add const attribute to gui classes.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r-- | src/gui/widgets/itemcontainer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/itemcontainer.h b/src/gui/widgets/itemcontainer.h index b411e0136..04e3d4ccd 100644 --- a/src/gui/widgets/itemcontainer.h +++ b/src/gui/widgets/itemcontainer.h @@ -84,8 +84,8 @@ class ItemContainer final : public Widget, void safeDraw(Graphics *graphics) override final A_NONNULL(2); // KeyListener - void keyPressed(KeyEvent &event) override final; - void keyReleased(KeyEvent &event) override final; + void keyPressed(KeyEvent &event) override final A_CONST; + void keyReleased(KeyEvent &event) override final A_CONST; // MouseListener void mousePressed(MouseEvent &event) override final; |