diff options
Diffstat (limited to 'src/interfaces/randomization.hpp')
-rw-r--r-- | src/interfaces/randomization.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/randomization.hpp b/src/interfaces/randomization.hpp index 211360e..eb8bd30 100644 --- a/src/interfaces/randomization.hpp +++ b/src/interfaces/randomization.hpp @@ -8,7 +8,7 @@ class ISeedGenerator public: virtual ~ISeedGenerator() noexcept = default; - [[nodiscard]] virtual uint32_t random_seed() const noexcept = 0; + [[nodiscard]] virtual auto random_seed() const noexcept -> uint32_t = 0; }; using ISeedGeneratorFactory = std::shared_ptr<ISeedGenerator> (*)(); @@ -25,8 +25,8 @@ public: * @param a A number lower than b * @param b A number greater than a */ - [[nodiscard]] virtual uint32_t in_range(const uint32_t &a, - const uint32_t &b) const noexcept = 0; + [[nodiscard]] virtual auto in_range(const uint32_t &a, + const uint32_t &b) const noexcept -> uint32_t = 0; }; using IRandomNumberGeneratorFactory = |