diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-29 17:14:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-29 17:14:25 +0300 |
commit | 1dda8c604a46e39bf726dd88a7482988038f8b93 (patch) | |
tree | d6614eb62a351a3eb6c834f3c95a856f8f46bf5c /src/gui | |
parent | 007f7538ffa3b4854e06a7d799855093593eddd1 (diff) | |
download | manaverse-1dda8c604a46e39bf726dd88a7482988038f8b93.tar.gz manaverse-1dda8c604a46e39bf726dd88a7482988038f8b93.tar.bz2 manaverse-1dda8c604a46e39bf726dd88a7482988038f8b93.tar.xz manaverse-1dda8c604a46e39bf726dd88a7482988038f8b93.zip |
Add constexpr into itemshortcut.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/shortcut/itemshortcut.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/shortcut/itemshortcut.h b/src/gui/shortcut/itemshortcut.h index 1dd4640b2..8bd452c35 100644 --- a/src/gui/shortcut/itemshortcut.h +++ b/src/gui/shortcut/itemshortcut.h @@ -83,7 +83,7 @@ class ItemShortcut final /** * Returns the amount of shortcut items. */ - static int getItemCount() A_WARN_UNUSED + constexpr static int getItemCount() A_WARN_UNUSED { return SHORTCUT_ITEMS; } /** |