From 0854ebbc0720c1691f2de661c4ce3467b71746c6 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 6 Mar 2022 13:29:10 +0100 Subject: refactor: replace unsigned int with uint32_t --- src/randomization/generator.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/randomization/generator.hpp') diff --git a/src/randomization/generator.hpp b/src/randomization/generator.hpp index 3acfc98..35bd9eb 100644 --- a/src/randomization/generator.hpp +++ b/src/randomization/generator.hpp @@ -8,10 +8,9 @@ class RandomNumberGenerator : public IRandomNumberGenerator { public: - explicit RandomNumberGenerator(const unsigned int &seed); + explicit RandomNumberGenerator(const uint32_t &seed); - [[nodiscard]] unsigned int in_range(const unsigned int &a, - const unsigned int &b) const override; + [[nodiscard]] uint32_t in_range(const uint32_t &a, const uint32_t &b) const override; private: std::unique_ptr _generator; -- cgit v1.2.3-18-g5258