From b226f23946987a649fb50bc6d9df2dd8afa7ade1 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:47:57 +0300 Subject: Add const attribute to gui classes. --- src/gui/shortcut/spellshortcut.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/shortcut/spellshortcut.h') 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. -- cgit v1.2.3-60-g2f50