Core/Global: reserve storage for script names vector

This commit is contained in:
ariel- authored and Aokromes committed 2017-04-01 07:06:02 +02:00
1 parent b47eb71b79
commit a3e41a3df6
1 file changed
+2
+2
View File
@@ -8863,6 +8863,8 @@ void ObjectMgr::LoadScriptNames()
return;
}
_scriptNamesStore.reserve(result->GetRowCount() + 1);
do
{
_scriptNamesStore.push_back((*result)[0].GetString());