aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Conditions/ConditionMgr.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-10-25 11:38:38 +0100
committerShauren <shauren.trinity@gmail.com>2015-10-25 12:00:05 +0100
commit9fa938f3e0df2ca6b9ff4f800a5b41ba18cdd214 (patch)
treeaed8d94f49859e6e8d551f89c6adf2c55daddfe7 /src/server/game/Conditions/ConditionMgr.cpp
parent5e0cee85ddd67188365ead3f18206df088e1f0c7 (diff)
Core/Conditions: Optimizations part 1 - use containers more suited for their role
Diffstat (limited to 'src/server/game/Conditions/ConditionMgr.cpp')
-rw-r--r--src/server/game/Conditions/ConditionMgr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Conditions/ConditionMgr.cpp b/src/server/game/Conditions/ConditionMgr.cpp
index 864b989e2b0..bb697dbdddb 100644
--- a/src/server/game/Conditions/ConditionMgr.cpp
+++ b/src/server/game/Conditions/ConditionMgr.cpp
@@ -2327,7 +2327,7 @@ void ConditionMgr::Clean()
NpcVendorConditionContainerStore.clear();
// this is a BIG hack, feel free to fix it if you can figure out the ConditionMgr ;)
- for (std::list<Condition*>::const_iterator itr = AllocatedMemoryStore.begin(); itr != AllocatedMemoryStore.end(); ++itr)
+ for (std::vector<Condition*>::const_iterator itr = AllocatedMemoryStore.begin(); itr != AllocatedMemoryStore.end(); ++itr)
delete *itr;
AllocatedMemoryStore.clear();