1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-11 11:31:52 +02:00

HeroBonus: remove unused functions

This commit is contained in:
Konstantin P 2023-04-27 16:32:16 +03:00 committed by Konstantin
parent 4b2a09dae7
commit 03b8ce2d4c

View File

@ -660,28 +660,6 @@ public:
}
};
// Extensions for BOOST_FOREACH to enable iterating of BonusList objects
// Don't touch/call this functions
inline BonusList::iterator range_begin(BonusList & x)
{
return x.begin();
}
inline BonusList::iterator range_end(BonusList & x)
{
return x.end();
}
inline BonusList::const_iterator range_begin(const BonusList & x)
{
return x.begin();
}
inline BonusList::const_iterator range_end(const BonusList & x)
{
return x.end();
}
DLL_LINKAGE std::ostream & operator<<(std::ostream &out, const BonusList &bonusList);
struct BonusLimitationContext