2 Commits d1edafb187 ... 5f7f6aaeee

Autor SHA1 Mensagem Data
  Eric Ramat 5f7f6aaeee Remove std::binary_function 2 anos atrás
  Eric Ramat d33a0f8e9a Add CXX directive 2 anos atrás

+ 1 - 0
src/CMakeLists.txt

@@ -13,6 +13,7 @@ TARGET_LINK_LIBRARIES(artislib ${Boost_LIBRARIES})
 SET_TARGET_PROPERTIES(artislib PROPERTIES
         VERSION 0
         OUTPUT_NAME "artis-star-${ARTIS_VERSION_SHORT}"
+        LINKER_LANGUAGE CXX
         CLEAN_DIRECT_OUTPUT 1)
 
 INSTALL(TARGETS artislib RUNTIME DESTINATION bin LIBRARY DESTINATION

+ 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; }
 };