summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-10-28 20:50:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-10-28 20:50:59 +0300
commitf364a75c082beed87dba04261650e5e5a412bd57 (patch)
tree78b19bb1b3696bee5f66d61eb21f60518d9a636b /src
parente7482b08370a87941f8d100d1f833f2128cb901c (diff)
downloadplus-f364a75c082beed87dba04261650e5e5a412bd57.tar.gz
plus-f364a75c082beed87dba04261650e5e5a412bd57.tar.bz2
plus-f364a75c082beed87dba04261650e5e5a412bd57.tar.xz
plus-f364a75c082beed87dba04261650e5e5a412bd57.zip
Improve sound db unload.
Diffstat (limited to 'src')
-rw-r--r--src/resources/db/sounddb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/sounddb.cpp b/src/resources/db/sounddb.cpp
index 3268a3e9c..4a4b7cd08 100644
--- a/src/resources/db/sounddb.cpp
+++ b/src/resources/db/sounddb.cpp
@@ -85,7 +85,7 @@ void SoundDB::unload()
{
mSounds.resize(NotifyTypes::TYPE_END);
for (int f = 0; f < NotifyTypes::TYPE_END; f ++)
- mSounds[f] = "";
+ mSounds[f].clear();
}
std::string &SoundDB::getSound(const int id)