diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:49:08 +0300 |
commit | 5c3746562bafd61603c67958fc82ff097a69e3a4 (patch) | |
tree | c36e46dd4df2bc7388e7e82b6e6ae8294c4ecd02 /src/soundmanager.h | |
parent | 60b386b1a97a052cea867dd3a4f7a9c52394b312 (diff) | |
download | manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.gz manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.bz2 manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.tar.xz manaplus-5c3746562bafd61603c67958fc82ff097a69e3a4.zip |
Add missing const and static into other classes.
Diffstat (limited to 'src/soundmanager.h')
-rw-r--r-- | src/soundmanager.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soundmanager.h b/src/soundmanager.h index 3ed5b6fc0..9eb1ea8a2 100644 --- a/src/soundmanager.h +++ b/src/soundmanager.h @@ -94,7 +94,7 @@ class SoundManager final : public ConfigListener void fadeOutAndPlayMusic(const std::string &fileName, const int ms = 1000); - int getMaxVolume() const A_WARN_UNUSED + static int getMaxVolume() A_WARN_UNUSED { return MIX_MAX_VOLUME; } void setMusicVolume(const int volume); @@ -138,7 +138,7 @@ class SoundManager final : public ConfigListener private: /** Logs various info about sound device. */ - void info() const; + static void info(); /** Halts and frees currently playing music. */ void haltMusic(); |