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 | |
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/shortcut')
-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. |