1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Reduce boost includes further

This commit is contained in:
Ivan Savenko
2025-03-18 15:43:12 +00:00
parent 7a3e1409d0
commit c73116a010
4 changed files with 30 additions and 12 deletions

View File

@@ -308,7 +308,7 @@ void AdventureMapShortcuts::endTurn()
void AdventureMapShortcuts::showThievesGuild()
{
//find first town with tavern
auto itr = range::find_if(GAME->interface()->localState->getOwnedTowns(), [](const CGTownInstance * town)
auto itr = boost::range::find_if(GAME->interface()->localState->getOwnedTowns(), [](const CGTownInstance * town)
{
return town->hasBuilt(BuildingID::TAVERN);
});