From a039c8ad36779903571419cb06cd052f8fc41512 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 29 Mar 2022 17:40:04 +0200 Subject: refactor: use trailing return types --- src/engine/user/input.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/user/input.hpp') diff --git a/src/engine/user/input.hpp b/src/engine/user/input.hpp index f86d0d0..0a437ef 100644 --- a/src/engine/user/input.hpp +++ b/src/engine/user/input.hpp @@ -36,5 +36,5 @@ private: using _SubscribersSizeType = decltype(_subscribers)::size_type; - static _SubscribersSizeType _event_as_index(const Event &event) noexcept; + static auto _event_as_index(const Event &event) noexcept -> _SubscribersSizeType; }; -- cgit v1.2.3-18-g5258