diff --git a/src/eitd/SIevents.hpp b/src/eitd/SIevents.hpp index 25e9bcc68..ace11a21c 100644 --- a/src/eitd/SIevents.hpp +++ b/src/eitd/SIevents.hpp @@ -164,13 +164,13 @@ public: typedef std::vector SIlinkage_descs; // Fuer for_each -struct printSIlinkage : public std::unary_function +struct printSIlinkage { void operator() (const SIlinkage &l) { l.dump();} }; // Fuer for_each -struct saveSIlinkageXML : public std::unary_function +struct saveSIlinkageXML { FILE *f; saveSIlinkageXML(FILE *fi) { f=fi;} @@ -240,13 +240,13 @@ class SIcomponent typedef std::vector SIcomponents; // Fuer for_each -struct printSIcomponent : public std::unary_function +struct printSIcomponent { void operator() (const SIcomponent &c) { c.dump();} }; // Fuer for_each -struct saveSIcomponentXML : public std::unary_function +struct saveSIcomponentXML { FILE *f; saveSIcomponentXML(FILE *fi) { f=fi;} @@ -280,13 +280,13 @@ class SIparentalRating typedef std::vector SIparentalRatings; // Fuer for_each -struct printSIparentalRating : public std::unary_function +struct printSIparentalRating { void operator() (const SIparentalRating &r) { r.dump();} }; // Fuer for_each -struct saveSIparentalRatingXML : public std::unary_function +struct saveSIparentalRatingXML { FILE *f; saveSIparentalRatingXML(FILE *fi) { f=fi;} @@ -329,13 +329,13 @@ class SItime { typedef std::set > SItimes; // Fuer for_each -struct printSItime : public std::unary_function +struct printSItime { void operator() (const SItime &t) { t.dump();} }; // Fuer for_each -struct saveSItimeXML : public std::unary_function +struct saveSItimeXML { FILE *f; saveSItimeXML(FILE *fi) { f=fi;} @@ -570,13 +570,13 @@ class SIevent typedef std::vector SIevents; // Fuer for_each -struct printSIevent : public std::unary_function +struct printSIevent { void operator() (const SIevent &e) { e.dump();} }; // Fuer for_each -struct saveSIeventXML : public std::unary_function +struct saveSIeventXML { FILE *f; saveSIeventXML(FILE *fi) { f=fi;} @@ -585,7 +585,7 @@ struct saveSIeventXML : public std::unary_function #if 0 // Fuer for_each -struct saveSIeventXMLwithServiceName : public std::unary_function +struct saveSIeventXMLwithServiceName { FILE *f; const SIservices *s; @@ -604,7 +604,7 @@ struct saveSIeventXMLwithServiceName : public std::unary_function #if 0 // Fuer for_each -struct printSIeventWithService : public std::unary_function +struct printSIeventWithService { printSIeventWithService(const SIservices &svs) { s=&svs;} void operator() (const SIevent &e) { diff --git a/src/eitd/SIservices.hpp b/src/eitd/SIservices.hpp index 2c0a3c9ad..231071a91 100644 --- a/src/eitd/SIservices.hpp +++ b/src/eitd/SIservices.hpp @@ -78,7 +78,7 @@ public: }; // Fuer for_each -struct printSInvodReference : public std::unary_function +struct printSInvodReference { void operator() (const SInvodReference &ref) { ref.dump();} }; @@ -151,7 +151,7 @@ public: }; // Fuer for_each -struct printSIservice : public std::unary_function +struct printSIservice { void operator() (const SIservice &s) { s.dump();} }; diff --git a/src/gui/hdd_menu.h b/src/gui/hdd_menu.h index 5893c04fb..51e11effb 100644 --- a/src/gui/hdd_menu.h +++ b/src/gui/hdd_menu.h @@ -65,7 +65,7 @@ class CHDDMenuHandler : public CMenuTarget }; std::vector hdd_list; std::set kernel_fs_list; - struct cmp_hdd_by_name: public std::binary_function + struct cmp_hdd_by_name { bool operator() (const struct hdd_s &c1, const struct hdd_s &c2) { diff --git a/src/gui/widget/menue.h b/src/gui/widget/menue.h index 90811b375..7e7b6103a 100644 --- a/src/gui/widget/menue.h +++ b/src/gui/widget/menue.h @@ -393,7 +393,7 @@ class CMenuOptionChooserOptions std::string valname; }; -struct CMenuOptionChooserCompareItem: public std::binary_function +struct CMenuOptionChooserCompareItem { static bool cmpToLower(const char a, const char b) { diff --git a/src/zapit/include/zapit/bouquets.h b/src/zapit/include/zapit/bouquets.h index 709a5c925..f243c5f96 100644 --- a/src/zapit/include/zapit/bouquets.h +++ b/src/zapit/include/zapit/bouquets.h @@ -192,7 +192,7 @@ class CBouquetManager : public OpenThreads::Thread * For instance all countless variants of the letter a have to be regarded as the same letter. */ -struct CmpBouquetByChName: public std::binary_function +struct CmpBouquetByChName { static bool comparetolower(const char a, const char b) { diff --git a/src/zapit/include/zapit/channel.h b/src/zapit/include/zapit/channel.h index 7ca5f28fa..75a997648 100644 --- a/src/zapit/include/zapit/channel.h +++ b/src/zapit/include/zapit/channel.h @@ -320,7 +320,7 @@ class CZapitChannel inline void setAlternateLogo(const std::string &pLogo) { altlogo = pLogo; } }; -struct CmpChannelBySat: public std::binary_function +struct CmpChannelBySat { static bool comparetolower(const char a, const char b) { @@ -337,7 +337,7 @@ struct CmpChannelBySat: public std::binary_function +struct CmpChannelByFreq { static bool comparetolower(const char a, const char b) { @@ -354,7 +354,7 @@ struct CmpChannelByFreq: public std::binary_function +struct CmpChannelByChName { static bool comparetolower(const char a, const char b) { @@ -367,7 +367,7 @@ struct CmpChannelByChName: public std::binary_function +struct CmpChannelByChNum { bool operator() (const CZapitChannel * const c1, const CZapitChannel * const c2) {