Skip to content

Commit

Permalink
Fix wotlk build
Browse files Browse the repository at this point in the history
  • Loading branch information
celguar committed May 13, 2024
1 parent 2b6d51f commit d5635f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions playerbot/strategy/actions/LfgActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -852,10 +852,10 @@ bool LfgJoinAction::JoinLFG()
list.insert(dungeon->id);
}

if (!selected.size())
if (selected.empty())
return false;

if (std::list.empty())
if (list.empty())
return false;

bool many = list.size() > 1;
Expand Down
2 changes: 1 addition & 1 deletion playerbot/strategy/values/SpellIdValue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ uint32 VehicleSpellIdValue::Calculate()
if (pSpellInfo) namepart = pSpellInfo->SpellName[0];
}

wstring wnamepart;
std::wstring wnamepart;

if (!Utf8toWStr(namepart, wnamepart))
return 0;
Expand Down

0 comments on commit d5635f2

Please sign in to comment.