aboutsummaryrefslogtreecommitdiff
path: root/src/game/statusline.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-29 17:40:04 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:57 +0200
commita039c8ad36779903571419cb06cd052f8fc41512 (patch)
tree4fdced6941a048bdd4b032fab7012bca00a6028e /src/game/statusline.hpp
parentacf72075ed32e5a679d49ffedc0c28d8ac2aea8b (diff)
refactor: use trailing return types
Diffstat (limited to 'src/game/statusline.hpp')
-rw-r--r--src/game/statusline.hpp4
1 files changed, 2 insertions, 2 deletions
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<ICursorController> _cursor_controller;
std::shared_ptr<IWindow> _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;
};