refactor: unglob std::pair

This commit is contained in:
Tropical
2026-03-06 20:37:41 -06:00
committed by JuiceyDev
parent 78ba464b8a
commit 6e56e07c6b
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;
}