Pārlūkot izejas kodu

Remove std::binary_function

Eric Ramat 1 gadu atpakaļ
vecāks
revīzija
5f7f6aaeee
1 mainītis faili ar 1 papildinājumiem un 4 dzēšanām
  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 <functional>
-
 namespace artis::common {
 
 template<typename Time>
@@ -74,8 +72,7 @@ private:
 };
 
 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; }
 };