feat(Core/Misc): includes cleanup (#5953)

This commit is contained in:
Kargatum
2021-05-26 19:00:08 +07:00
committed by GitHub
parent 7d3129a737
commit 78e1719c80
46 changed files with 132 additions and 191 deletions

View File

@@ -361,7 +361,7 @@ ObjectMgr* ObjectMgr::instance()
return &instance;
}
void ObjectMgr::AddLocaleString(std::string&& s, LocaleConstant locale, StringVector& data)
void ObjectMgr::AddLocaleString(std::string&& s, LocaleConstant locale, std::vector<std::string>& data)
{
if (!s.empty())
{
@@ -6893,8 +6893,8 @@ void ObjectMgr::LoadPetNumber()
std::string ObjectMgr::GeneratePetName(uint32 entry)
{
StringVector& list0 = _petHalfName0[entry];
StringVector& list1 = _petHalfName1[entry];
std::vector<std::string>& list0 = _petHalfName0[entry];
std::vector<std::string>& list1 = _petHalfName1[entry];
if (list0.empty() || list1.empty())
{