summaryrefslogtreecommitdiff
path: root/src/resources/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db')
-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)