aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/engine/user/input.cpp6
-rw-r--r--src/engine/user/input.hpp4
2 files changed, 5 insertions, 5 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));
}
diff --git a/src/engine/user/input.hpp b/src/engine/user/input.hpp
index 0a437ef..66b58c6 100644
--- a/src/engine/user/input.hpp
+++ b/src/engine/user/input.hpp
@@ -34,7 +34,7 @@ private:
std::shared_ptr<termios> _original_termios = nullptr;
- using _SubscribersSizeType = decltype(_subscribers)::size_type;
+ using SubscribersSizeType = decltype(_subscribers)::size_type;
- static auto _event_as_index(const Event &event) noexcept -> _SubscribersSizeType;
+ static auto _event_as_index(const Event &event) noexcept -> SubscribersSizeType;
};