diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-04 08:31:05 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-04 08:31:05 +0100 |
commit | 63d50eea4e389e73e26f41452829dd48e6190c70 (patch) | |
tree | 82a8ef7a28fe7e069dbe9830adc28fd49dd85846 /mwe/events/include/eventHandler.h | |
parent | 06f65659fc6ffde7cabd2135040cbfbf089e5a24 (diff) | |
parent | 2585dc3cab48ccad0cfa0c63354662d656c86c46 (diff) |
Merge branch 'master' of github.com:lonkaars/crepe
Diffstat (limited to 'mwe/events/include/eventHandler.h')
-rw-r--r-- | mwe/events/include/eventHandler.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mwe/events/include/eventHandler.h b/mwe/events/include/eventHandler.h index 7414801..aa8f63b 100644 --- a/mwe/events/include/eventHandler.h +++ b/mwe/events/include/eventHandler.h @@ -1,9 +1,8 @@ #pragma once - #include "event.h" - #include <functional> #include <iostream> + template <typename EventType> using EventHandler = std::function<void(const EventType & e)>; |