Skip to content

Commit

Permalink
remove geode_dll from event v2 types
Browse files Browse the repository at this point in the history
  • Loading branch information
camila314 committed Jan 13, 2025
1 parent 728df4e commit 8e3e882
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loader/include/Geode/loader/EventV2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace geode::event::v2 {
template <is_event T>
struct GEODE_DLL WrapFilter : public EventFilter<T> {
struct WrapFilter : public EventFilter<T> {
std::function<bool(T*)> m_filterFunc;

WrapFilter(std::function<bool(T*)> ff) : m_filterFunc(ff) {}
Expand All @@ -17,7 +17,7 @@ namespace geode::event::v2 {
};

template <typename T>
struct GEODE_DLL EventHandler : public EventListener<WrapFilter<T>> {
struct EventHandler : public EventListener<WrapFilter<T>> {
EventHandler(std::function<bool(T*)> filterFunc) : EventListener<WrapFilter<T>>(WrapFilter(filterFunc)) {}
};
}

0 comments on commit 8e3e882

Please sign in to comment.