Fix boot auto unit tests for Boost V1.34 compatibility
[senf.git] / PPI / IntervalTimer.test.cc
index b3984e1..f2e92e6 100644 (file)
@@ -31,7 +31,7 @@
 #include "Module.hh"
 #include "Setup.hh"
 
-#include <boost/test/auto_unit_test.hpp>
+#include "../Utils/auto_unit_test.hh"
 #include <boost/test/test_tools.hpp>
 
 #define prefix_
@@ -60,7 +60,7 @@ namespace {
         :   timer ( senf::ClockService::milliseconds(d_) ), 
             n     ( n_ ) 
         {
-            registerEvent( &TimerTest::tick, timer );
+            registerEvent( timer, &TimerTest::tick );
         }
     };