refactor: unglob std::pair

This commit is contained in:
Tropical
2026-03-06 20:37:41 -06:00
parent e918160231
commit e506b8fe7a
16 changed files with 108 additions and 108 deletions

View File

@@ -291,14 +291,14 @@ bool TexturePackRepository::canUseWebSkin()
return false;
}
std::vector< pair<DWORD,std::wstring> > *TexturePackRepository::getTexturePackIdNames()
std::vector< std::pair<DWORD,std::wstring> > *TexturePackRepository::getTexturePackIdNames()
{
std::vector< pair<DWORD,std::wstring> > *packList = new std::vector< pair<DWORD,std::wstring> >();
std::vector< std::pair<DWORD,std::wstring> > *packList = new std::vector< std::pair<DWORD,std::wstring> >();
for(AUTO_VAR(it,texturePacks->begin()); it != texturePacks->end(); ++it)
{
TexturePack *pack = *it;
packList->push_back( pair<DWORD,std::wstring>(pack->getId(),pack->getName()) );
packList->push_back( std::pair<DWORD,std::wstring>(pack->getId(),pack->getName()) );
}
return packList;
}