summaryrefslogtreecommitdiff
path: root/src/gui/widgets/itemcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:47:57 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:47:57 +0300
commitb226f23946987a649fb50bc6d9df2dd8afa7ade1 (patch)
tree25dc0c5e10d9db78d1eb463b3c98070ccc89a8bb /src/gui/widgets/itemcontainer.h
parent1a9ffd99f2b199501bf0f23e368bcd91d05fd277 (diff)
downloadmanaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.gz
manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.bz2
manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.tar.xz
manaplus-b226f23946987a649fb50bc6d9df2dd8afa7ade1.zip
Add const attribute to gui classes.
Diffstat (limited to 'src/gui/widgets/itemcontainer.h')
-rw-r--r--src/gui/widgets/itemcontainer.h4
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;