mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 07:22:02 -04:00
Core/Global: reserve storage for script names vector
This commit is contained in:
@@ -8695,6 +8695,8 @@ void ObjectMgr::LoadScriptNames()
|
||||
return;
|
||||
}
|
||||
|
||||
_scriptNamesStore.reserve(result->GetRowCount() + 1);
|
||||
|
||||
do
|
||||
{
|
||||
_scriptNamesStore.push_back((*result)[0].GetString());
|
||||
|
||||
Reference in New Issue
Block a user