aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/randomization.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-04-04 11:04:41 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commita93270968f9aab5d8c1c528daf02c8b27d09eed7 (patch)
tree471394acdf19139a606ca68e558f84dc45ab5171 /src/interfaces/randomization.hpp
parent9e61e23ad2ac72030f14ea59e502c19d52995f3a (diff)
refactor: fix compiler errors with libc++
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
{