diff options
Diffstat (limited to 'src/soundmanager.h')
-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); |