aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/randomization.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/randomization.hpp')
-rw-r--r--src/interfaces/randomization.hpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/interfaces/randomization.hpp b/src/interfaces/randomization.hpp
index eb8bd30..8b1631c 100644
--- a/src/interfaces/randomization.hpp
+++ b/src/interfaces/randomization.hpp
@@ -8,11 +8,9 @@ class ISeedGenerator
public:
virtual ~ISeedGenerator() noexcept = default;
- [[nodiscard]] virtual auto random_seed() const noexcept -> uint32_t = 0;
+ [[nodiscard]] virtual auto random_seed() noexcept -> uint32_t = 0;
};
-using ISeedGeneratorFactory = std::shared_ptr<ISeedGenerator> (*)();
-
// NOLINTNEXTLINE(cppcoreguidelines-special-member-functions)
class IRandomNumberGenerator
{