mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-02-11 01:53:02 +00:00
chore: make GetLanguagePrefixes return a reference instead of a vector copy
This commit is contained in:
@@ -41,8 +41,8 @@ std::vector<Zone*> GameIW4::GetZones()
|
||||
return m_zones;
|
||||
}
|
||||
|
||||
std::vector<GameLanguagePrefix> GameIW4::GetLanguagePrefixes()
|
||||
const std::vector<GameLanguagePrefix>& GameIW4::GetLanguagePrefixes()
|
||||
{
|
||||
std::vector<GameLanguagePrefix> prefixes;
|
||||
static std::vector<GameLanguagePrefix> prefixes;
|
||||
return prefixes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user