]> git.stg.codes - stg.git/blobdiff - stargazer/actions.inl.h
Fix build on OSX.
[stg.git] / stargazer / actions.inl.h
index 392626ab67b29cb2605b9454f94bf5460782e0c7..1b713f1d94e39b7cca999f78cd14a4d55fe4e7a8 100644 (file)
@@ -104,8 +104,7 @@ STG_LOCKER lock(&mutex);
 std::for_each(
         parent::begin(),
         parent::end(),
-        std::mem_fun(&BASE_ACTION::Invoke)
-);
+        [](auto action){ action->Invoke(); });
 }
 
 #endif