X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/12b88fa193a36e0d4ed35b1912e5cf1dfe633ce6..bf689f8729a4f53f9425da557e0919eb9a6d795b:/stargazer/actions.inl.h?ds=inline diff --git a/stargazer/actions.inl.h b/stargazer/actions.inl.h index 392626ab..1b713f1d 100644 --- a/stargazer/actions.inl.h +++ b/stargazer/actions.inl.h @@ -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