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/game/statusline.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/statusline.hpp') diff --git a/src/game/statusline.hpp b/src/game/statusline.hpp index 7db1e0b..a14ab20 100644 --- a/src/game/statusline.hpp +++ b/src/game/statusline.hpp @@ -31,11 +31,11 @@ private: std::shared_ptr _cursor_controller; std::shared_ptr _window; - Vector2 _move_to_statusline(int32_t x) noexcept; + auto _move_to_statusline(int32_t x) noexcept -> Vector2; void _move_back(Vector2 previous_position) noexcept; - int32_t _get_section_start_x(StatusLineSection section) const noexcept; + auto _get_section_start_x(StatusLineSection section) const noexcept -> int32_t; void _clear_section(StatusLineSection section) noexcept; }; -- cgit v1.2.3-18-g5258