Core/Global: reserve storage for script names vector

This commit is contained in:
ariel-
2017-03-27 02:59:26 -03:00
parent 05cbe86455
commit c8bf1ab5f7
+2
View File
@@ -8695,6 +8695,8 @@ void ObjectMgr::LoadScriptNames()
return;
}
_scriptNamesStore.reserve(result->GetRowCount() + 1);
do
{
_scriptNamesStore.push_back((*result)[0].GetString());