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/randomization/generator.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/randomization/generator.hpp') diff --git a/src/randomization/generator.hpp b/src/randomization/generator.hpp index 4b002dd..98acfde 100644 --- a/src/randomization/generator.hpp +++ b/src/randomization/generator.hpp @@ -10,8 +10,8 @@ class RandomNumberGenerator : public IRandomNumberGenerator public: explicit RandomNumberGenerator(const uint32_t &seed) noexcept; - [[nodiscard]] uint32_t in_range(const uint32_t &a, - const uint32_t &b) const noexcept override; + [[nodiscard]] auto in_range(const uint32_t &a, + const uint32_t &b) const noexcept -> uint32_t override; private: std::unique_ptr _generator; -- cgit v1.2.3-18-g5258