Core/Misc: Warning fixes

This commit is contained in:
Shauren
2012-08-21 18:20:42 +02:00
parent 7ccd254fdc
commit 7dc26c7ff7
3 changed files with 13 additions and 7 deletions

View File

@@ -78,7 +78,7 @@ public:
// check item starting quest (it can work incorrectly if added without item in inventory)
ItemTemplateContainer const* itc = sObjectMgr->GetItemTemplateStore();
ItemTemplateContainer::const_iterator result = find_if (itc->begin(), itc->end(), Finder<uint32, ItemTemplate>(entry, &ItemTemplate::StartQuest));
ItemTemplateContainer::const_iterator result = find_if(itc->begin(), itc->end(), Finder<uint32, ItemTemplate>(entry, &ItemTemplate::StartQuest));
if (result != itc->end())
{