aboutsummaryrefslogtreecommitdiff
path: root/src/randomization/generator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/randomization/generator.hpp')
-rw-r--r--src/randomization/generator.hpp5
1 files changed, 2 insertions, 3 deletions
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<std::mt19937> _generator;