diff options
| author | HampusM <hampus@hampusmat.com> | 2022-04-04 11:04:41 +0200 | 
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:58 +0200 | 
| commit | a93270968f9aab5d8c1c528daf02c8b27d09eed7 (patch) | |
| tree | 471394acdf19139a606ca68e558f84dc45ab5171 /src/interfaces | |
| parent | 9e61e23ad2ac72030f14ea59e502c19d52995f3a (diff) | |
refactor: fix compiler errors with libc++
Diffstat (limited to 'src/interfaces')
| -rw-r--r-- | src/interfaces/randomization.hpp | 4 | 
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  {  | 
