mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
Add EnterLayerEvent<N> as default template param to the filter
This commit is contained in:
parent
9cd0327766
commit
17eb0e5aa0
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ namespace geode {
|
|||
template<class T, class N>
|
||||
concept InheritsEnterLayer = std::is_base_of_v<EnterLayerEvent<N>, T>;
|
||||
|
||||
template<class N, InheritsEnterLayer<N> T>
|
||||
template<class N, InheritsEnterLayer<N> T = EnterLayerEvent<N>>
|
||||
class EnterLayerFilter : public EventFilter<EnterLayerEvent<N>> {
|
||||
public:
|
||||
using Callback = void(T*);
|
||||
|
|
Loading…
Reference in a new issue