diff options
-rw-r--r-- | src/game/statusline.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/game/statusline.hpp b/src/game/statusline.hpp index a14ab20..9e85008 100644 --- a/src/game/statusline.hpp +++ b/src/game/statusline.hpp @@ -35,7 +35,8 @@ private: void _move_back(Vector2 previous_position) noexcept; - auto _get_section_start_x(StatusLineSection section) const noexcept -> int32_t; + [[nodiscard]] auto _get_section_start_x(StatusLineSection section) const noexcept + -> int32_t; void _clear_section(StatusLineSection section) noexcept; }; |