diff options
Diffstat (limited to 'CruUI/cru_event.h')
-rw-r--r-- | CruUI/cru_event.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CruUI/cru_event.h b/CruUI/cru_event.h index f5e548c0..3a2dccfa 100644 --- a/CruUI/cru_event.h +++ b/CruUI/cru_event.h @@ -46,7 +46,7 @@ namespace cru { using ArgsType = TArgsType; - using EventHandler = Action<ArgsType&>; + using EventHandler = Function<void(ArgsType&)>; using EventHandlerPtr = std::shared_ptr<EventHandler>; Event() = default; |