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/interfaces/generation_tracker.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/interfaces/generation_tracker.hpp') diff --git a/src/interfaces/generation_tracker.hpp b/src/interfaces/generation_tracker.hpp index 76f241a..fcd2426 100644 --- a/src/interfaces/generation_tracker.hpp +++ b/src/interfaces/generation_tracker.hpp @@ -9,9 +9,9 @@ class IGenerationTracker public: virtual ~IGenerationTracker() noexcept = default; - [[nodiscard]] virtual uint32_t get_current_generation() const noexcept = 0; + [[nodiscard]] virtual auto get_current_generation() const noexcept -> uint32_t = 0; - [[nodiscard]] virtual bool get_is_paused() const noexcept = 0; + [[nodiscard]] virtual auto get_is_paused() const noexcept -> bool = 0; virtual void set_is_paused(bool is_paused) noexcept = 0; }; -- cgit v1.2.3-18-g5258