Parcourir la source

Remove std::binary_function

Eric Ramat il y a 2 ans
Parent
commit
5f7f6aaeee
1 fichiers modifiés avec 1 ajouts et 4 suppressions
  1. 1 4
      src/artis-star/common/event/InternalEvent.hpp

+ 1 - 4
src/artis-star/common/event/InternalEvent.hpp

@@ -29,8 +29,6 @@
 
 
 #include "artis-star/common/Model.hpp"
 #include "artis-star/common/Model.hpp"
 
 
-#include <functional>
-
 namespace artis::common {
 namespace artis::common {
 
 
 template<typename Time>
 template<typename Time>
@@ -74,8 +72,7 @@ private:
 };
 };
 
 
 template<typename Event>
 template<typename Event>
-struct EventCompare
-  : std::binary_function<Event, Event, bool> {
+struct EventCompare {
   bool operator()(const Event &left, const Event &right) const { return left >= right; }
   bool operator()(const Event &left, const Event &right) const { return left >= right; }
 };
 };