From a8fbce594f87554b48da661c7939559be801da13 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 29 Mar 2022 18:05:16 +0200 Subject: fix: change input handler subscribers size type name --- src/engine/user/input.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/engine/user/input.cpp') diff --git a/src/engine/user/input.cpp b/src/engine/user/input.cpp index 87d8a68..1d6bc09 100644 --- a/src/engine/user/input.cpp +++ b/src/engine/user/input.cpp @@ -60,8 +60,8 @@ void InputHandler::leave_raw_mode() noexcept _original_termios = nullptr; } -auto -InputHandler::_event_as_index(const Event &event) noexcept -> InputHandler::_SubscribersSizeType +auto InputHandler::_event_as_index(const Event &event) noexcept + -> InputHandler::SubscribersSizeType { - return static_cast<_SubscribersSizeType>(static_cast(event)); + return static_cast(static_cast(event)); } -- cgit v1.2.3-18-g5258