Compare commits

..

1 commit

Author SHA1 Message Date
Justin
da61d83c6a
Merge a68a631a4d into d1053b1688 2024-10-19 15:41:03 -04:00

View file

@ -1392,10 +1392,8 @@ namespace geode::cocos {
// small hack to allow template deduction
struct CallFuncExt {
template <std::invocable F>
static auto create(F&& func) {
using Fd = std::decay_t<F>;
return CallFuncExtImpl<Fd>::create(std::forward<F>(func));
static CallFuncExtImpl<F>* create(F&& func) {
return CallFuncExtImpl<F>::create(std::forward<F>(func));
}
};