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.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game/generation_tracker.hpp') diff --git a/src/game/generation_tracker.hpp b/src/game/generation_tracker.hpp index 0e59751..bd15a3e 100644 --- a/src/game/generation_tracker.hpp +++ b/src/game/generation_tracker.hpp @@ -9,9 +9,9 @@ class GenerationTracker : public IGenerationTracker public: explicit GenerationTracker(bool is_paused) noexcept; - [[nodiscard]] uint32_t get_current_generation() const noexcept override; + [[nodiscard]] auto get_current_generation() const noexcept -> uint32_t override; - [[nodiscard]] bool get_is_paused() const noexcept override; + [[nodiscard]] auto get_is_paused() const noexcept -> bool override; void set_is_paused(bool is_paused) noexcept override; -- cgit v1.2.3-18-g5258