From 17eb0e5aa01384998ac4b1469687839a5888fe27 Mon Sep 17 00:00:00 2001 From: alk <45172705+altalk23@users.noreply.github.com> Date: Fri, 23 Jun 2023 23:48:41 +0300 Subject: [PATCH] Add EnterLayerEvent as default template param to the filter --- loader/include/Geode/ui/EnterLayerEvent.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loader/include/Geode/ui/EnterLayerEvent.hpp b/loader/include/Geode/ui/EnterLayerEvent.hpp index 91c22835..acab4980 100644 --- a/loader/include/Geode/ui/EnterLayerEvent.hpp +++ b/loader/include/Geode/ui/EnterLayerEvent.hpp @@ -53,7 +53,7 @@ namespace geode { template concept InheritsEnterLayer = std::is_base_of_v, T>; - template T> + template T = EnterLayerEvent> class EnterLayerFilter : public EventFilter> { public: using Callback = void(T*);