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/shortcut/spellshortcut.h | |
parent | 1a9ffd99f2b199501bf0f23e368bcd91d05fd277 (diff) | |
download | manaplus-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/shortcut/spellshortcut.h')
-rw-r--r-- | src/gui/shortcut/spellshortcut.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/shortcut/spellshortcut.h b/src/gui/shortcut/spellshortcut.h index 694bf5fac..4342e082f 100644 --- a/src/gui/shortcut/spellshortcut.h +++ b/src/gui/shortcut/spellshortcut.h @@ -41,14 +41,14 @@ class SpellShortcut final /** * Destructor. */ - ~SpellShortcut(); + ~SpellShortcut() A_CONST; /** * Load the configuration information. */ void load(); - unsigned int getSpellsCount() const A_WARN_UNUSED; + unsigned int getSpellsCount() const A_CONST A_WARN_UNUSED; /** * Set the item that is selected. |