Просмотр исходного кода

HeroBonus: remove unused functions

Konstantin P 2 лет назад
Родитель
Сommit
03b8ce2d4c
1 измененных файлов с 0 добавлено и 22 удалено
  1. 0 22
      lib/HeroBonus.h

+ 0 - 22
lib/HeroBonus.h

@@ -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);
 DLL_LINKAGE std::ostream & operator<<(std::ostream &out, const BonusList &bonusList);
 
 
 struct BonusLimitationContext
 struct BonusLimitationContext