From a93270968f9aab5d8c1c528daf02c8b27d09eed7 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 4 Apr 2022 11:04:41 +0200 Subject: refactor: fix compiler errors with libc++ --- src/interfaces/randomization.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/interfaces') 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 (*)(); - // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) class IRandomNumberGenerator { -- cgit v1.2.3-18-g5258