/Users/proj/soft/ilcsoft/v02-03-02/lccd/tmp diff -uNr v01-05-01.ORIG/source/src/DBFileHandler.cc v01-05-01/source/src/DBFileHandler.cc --- v01-05-01.ORIG/source/src/DBFileHandler.cc 2022-06-29 18:46:29 +++ v01-05-01/source/src/DBFileHandler.cc 2023-11-19 19:37:36 @@ -18,7 +18,11 @@ /** Helper predicate to find validity ranges */ +#if 0 class contains_timestamp : public std::unary_function{ +#else + class contains_timestamp : public std::function{ +#endif public: contains_timestamp(LCCDTimeStamp t) : _t( t) {} bool operator()(const ValidityInterval& v) { diff -uNr v01-05-01.ORIG/source/src/DBInterface.cc v01-05-01/source/src/DBInterface.cc --- v01-05-01.ORIG/source/src/DBInterface.cc 2022-06-29 18:46:29 +++ v01-05-01/source/src/DBInterface.cc 2023-11-19 19:39:13 @@ -39,7 +39,11 @@ namespace lccd { /** Helper class to sort collections of conditions data w.r.t. to their validity time intervall */ +#if 0 struct less_wrt_validity : public binary_function{ +#else + struct less_wrt_validity : public function{ +#endif bool operator() (lcio::LCCollection* c0, lcio::LCCollection* c1) const { return ( std::atoll( c0->parameters().getStringVal(lccd::DBSINCE).c_str() ) < std::atoll( c1->parameters().getStringVal(lccd::DBSINCE).c_str() ) ) ;