summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index f7bffc31f..08309829d 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -37,7 +37,7 @@
#define STATUS_EFFECTS_FILE "status-effects.xml"
-void unloadMap(std::map<int, StatusEffect *> map);
+void unloadMap(std::map<int, StatusEffect *> &map);
bool StatusEffect::mLoaded = false;
@@ -187,7 +187,7 @@ void StatusEffect::load()
mLoaded = true;
}
-void unloadMap(std::map<int, StatusEffect *> map)
+void unloadMap(std::map<int, StatusEffect *> &map)
{
std::map<int, StatusEffect *>::iterator it;