diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-29 16:31:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-29 16:31:38 +0300 |
commit | 783b6348f4a4bc658cca214537a43d911c91f3b3 (patch) | |
tree | fb356b2bc0052c9e576f159b9758f3b5aaf762de | |
parent | 8931206816513e78b903b4d489aa9e3057cfa915 (diff) | |
download | manaverse-783b6348f4a4bc658cca214537a43d911c91f3b3.tar.gz manaverse-783b6348f4a4bc658cca214537a43d911c91f3b3.tar.bz2 manaverse-783b6348f4a4bc658cca214537a43d911c91f3b3.tar.xz manaverse-783b6348f4a4bc658cca214537a43d911c91f3b3.zip |
Add constexpr into soundmanager.
-rw-r--r-- | src/soundmanager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soundmanager.h b/src/soundmanager.h index 4efc24542..4e773c8db 100644 --- a/src/soundmanager.h +++ b/src/soundmanager.h @@ -106,7 +106,7 @@ class SoundManager final : public ConfigListener void fadeOutAndPlayMusic(const std::string &fileName, const int ms = 1000); - static int getMaxVolume() A_WARN_UNUSED + constexpr static int getMaxVolume() A_WARN_UNUSED { return MIX_MAX_VOLUME; } void setMusicVolume(const int volume); |