aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Loot/LootMgr.cpp
diff options
context:
space:
mode:
authorSebastian Valle <s.v.h21@hotmail.com>2013-09-03 17:31:02 -0500
committerSebastian Valle <s.v.h21@hotmail.com>2013-09-03 17:31:02 -0500
commit07d793b94b60941ea08fd6170d8165994452c49c (patch)
tree11f98638a34d4dcd507e55f8ecd5b4ac1928451c /src/server/game/Loot/LootMgr.cpp
parent3ec941bacf99d94e43e9dc948b34d4591aff7af2 (diff)
Core/Misc: Fixed some more issues found by static code analysis tools.
Diffstat (limited to 'src/server/game/Loot/LootMgr.cpp')
-rw-r--r--src/server/game/Loot/LootMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Loot/LootMgr.cpp b/src/server/game/Loot/LootMgr.cpp
index 33c21163a4a..cb2e2a8682b 100644
--- a/src/server/game/Loot/LootMgr.cpp
+++ b/src/server/game/Loot/LootMgr.cpp
@@ -1248,7 +1248,7 @@ void LootTemplate::AddEntry(LootStoreItem* item)
Entries.push_back(item);
}
-void LootTemplate::CopyConditions(ConditionList conditions)
+void LootTemplate::CopyConditions(const ConditionList& conditions)
{
for (LootStoreItemList::iterator i = Entries.begin(); i != Entries.end(); ++i)
(*i)->conditions.clear();