X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/12b88fa193a36e0d4ed35b1912e5cf1dfe633ce6..907166f270d246529788a6de7688f3e54847c0a2:/stargazer/actions.inl.h 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