aboutsummaryrefslogtreecommitdiff
path: root/src/game/statusline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/statusline.cpp')
-rw-r--r--src/game/statusline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/statusline.cpp b/src/game/statusline.cpp
index 221258c..6becb38 100644
--- a/src/game/statusline.cpp
+++ b/src/game/statusline.cpp
@@ -51,7 +51,7 @@ void StatusLine::set_status(StatusLineSection section,
_move_back(previous_position);
}
-Vector2 StatusLine::_move_to_statusline(int32_t x) noexcept
+auto StatusLine::_move_to_statusline(int32_t x) noexcept -> Vector2
{
const auto previous_position = _cursor_controller->where();
@@ -72,7 +72,7 @@ void StatusLine::_move_back(Vector2 previous_position) noexcept
_cursor_controller->show();
}
-int32_t StatusLine::_get_section_start_x(StatusLineSection section) const noexcept
+auto StatusLine::_get_section_start_x(StatusLineSection section) const noexcept -> int32_t
{
int32_t section_start = 0;