fix mac build

This commit is contained in:
hjfod 2023-03-24 09:43:46 +02:00
parent 9bdd9fc526
commit e962d5b89f

View file

@ -990,7 +990,7 @@ public:
GEODE_DLL void swapChildIndices(CCNode* first, CCNode* second);
template <class Filter, class... Args>
void addEventListener(Filter::Callback listener, Args&&... args) {
void addEventListener(typename Filter::Callback listener, Args&&... args) {
this->addEventListenerInternal(new geode::EventListener<Filter>(
listener, Filter(this, std::forward<Args>(args)...)
));