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:
@@ -372,7 +372,7 @@ const JsonNode & CampaignState::getHeroByType(HeroTypeID heroID) const
|
||||
|
||||
void CampaignState::setCurrentMapAsConquered(std::vector<CGHeroInstance *> heroes)
|
||||
{
|
||||
range::sort(heroes, [](const CGHeroInstance * a, const CGHeroInstance * b)
|
||||
boost::range::sort(heroes, [](const CGHeroInstance * a, const CGHeroInstance * b)
|
||||
{
|
||||
return a->getValueForCampaign() > b->getValueForCampaign();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user