Fixed build

This commit is contained in:
joschiwald
2014-12-06 00:19:12 +01:00
parent cc4ebdbe05
commit 9cda85a388

View File

@@ -97,7 +97,7 @@ class ScriptRegistry
sScriptMgr->IncrementScriptCount();
#ifdef SCRIPTS
UnusedScriptNamesContainer::const_iterator itr = std::lower_bound(UnusedScriptNames.begin(), UnusedScriptNames.end(), script->GetName());
UnusedScriptNamesContainer::iterator itr = std::lower_bound(UnusedScriptNames.begin(), UnusedScriptNames.end(), script->GetName());
if (itr != UnusedScriptNames.end() && *itr == script->GetName())
UnusedScriptNames.erase(itr);
#endif