summaryrefslogtreecommitdiff
path: root/src/gui/widgets/widget.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/widget.h
parent1a9ffd99f2b199501bf0f23e368bcd91d05fd277 (diff)
downloadManaVerse-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/widget.h')
-rw-r--r--src/gui/widgets/widget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h
index 2cba39d33..ace12e321 100644
--- a/src/gui/widgets/widget.h
+++ b/src/gui/widgets/widget.h
@@ -858,7 +858,7 @@ class Widget notfinal : public Widget2
* @since 0.6.0
*/
const std::list<MouseListener*>& getMouseListeners() const
- A_WARN_UNUSED;
+ A_CONST A_WARN_UNUSED;
/**
* Gets the key listeners of the widget.
@@ -867,7 +867,7 @@ class Widget notfinal : public Widget2
* @since 0.6.0
*/
const std::list<KeyListener*>& getKeyListeners() const
- A_WARN_UNUSED;
+ A_CONST A_WARN_UNUSED;
/**
* Gets the focus listeners of the widget.
@@ -876,7 +876,7 @@ class Widget notfinal : public Widget2
* @since 0.7.0
*/
const std::list<FocusListener*>& getFocusListeners() const
- A_WARN_UNUSED;
+ A_CONST A_WARN_UNUSED;
/**
* Gets the area of the widget occupied by the widget's children.