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, 3 insertions, 2 deletions
diff --git a/src/randomization/generator.hpp b/src/randomization/generator.hpp
index 35bd9eb..4b002dd 100644
--- a/src/randomization/generator.hpp
+++ b/src/randomization/generator.hpp
@@ -8,9 +8,10 @@
class RandomNumberGenerator : public IRandomNumberGenerator
{
public:
- explicit RandomNumberGenerator(const uint32_t &seed);
+ explicit RandomNumberGenerator(const uint32_t &seed) noexcept;
- [[nodiscard]] uint32_t in_range(const uint32_t &a, const uint32_t &b) const override;
+ [[nodiscard]] uint32_t in_range(const uint32_t &a,
+ const uint32_t &b) const noexcept override;
private:
std::unique_ptr<std::mt19937> _generator;