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/generation_tracker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/generation_tracker.cpp') diff --git a/src/game/generation_tracker.cpp b/src/game/generation_tracker.cpp index 0e137cb..0a7a923 100644 --- a/src/game/generation_tracker.cpp +++ b/src/game/generation_tracker.cpp @@ -2,12 +2,12 @@ GenerationTracker::GenerationTracker(bool is_paused) noexcept : _is_paused(is_paused) {} -uint32_t GenerationTracker::get_current_generation() const noexcept +auto GenerationTracker::get_current_generation() const noexcept -> uint32_t { return _current_generation; } -bool GenerationTracker::get_is_paused() const noexcept +auto GenerationTracker::get_is_paused() const noexcept -> bool { return _is_paused; } -- cgit v1.2.3-18-g5258