瀏覽代碼

Remove std::binary_function

Eric Ramat 2 年之前
父節點
當前提交
5f7f6aaeee
共有 1 個文件被更改,包括 1 次插入4 次删除
  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; }
 };