aboutsummaryrefslogtreecommitdiff
path: root/src/engine/user/input.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-29 18:05:16 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commita8fbce594f87554b48da661c7939559be801da13 (patch)
tree39f11b9241505fb51dfd874135629f59a4b7189c /src/engine/user/input.cpp
parentc02774db1154987c04a6619cc8dadd9b966ca8f2 (diff)
fix: change input handler subscribers size type name
Diffstat (limited to 'src/engine/user/input.cpp')
-rw-r--r--src/engine/user/input.cpp6
1 files changed, 3 insertions, 3 deletions
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<uint8_t>(event));
+ return static_cast<SubscribersSizeType>(static_cast<uint8_t>(event));
}