This commit is contained in:
Jorijn van der Graaf 2025-11-25 21:20:10 +01:00
commit 72fc594aa2

View file

@ -58,12 +58,12 @@ namespace Crafter {
// Base implementation for Event<T> - common functionality
template<typename T>
class EventBase {
protected:
std::map<int, std::vector<EventListener<T>*>> listeners;
public:
#ifdef CRAFTER_TIMING
std::map<const EventListener<T>*, std::chrono::nanoseconds> listenerTimes;
#endif
protected:
std::map<int, std::vector<EventListener<T>*>> listeners;
public:
EventBase() = default;