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/randomization/seed_generator.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'src/randomization/seed_generator.cpp') diff --git a/src/randomization/seed_generator.cpp b/src/randomization/seed_generator.cpp index 5aedf17..a0f9303 100644 --- a/src/randomization/seed_generator.cpp +++ b/src/randomization/seed_generator.cpp @@ -1,12 +1,6 @@ #include "seed_generator.hpp" -SeedGenerator::SeedGenerator( - const std::shared_ptr &random_device) noexcept - : _random_device(random_device) +auto SeedGenerator::random_seed() noexcept -> uint32_t { -} - -auto SeedGenerator::random_seed() const noexcept -> uint32_t -{ - return (*_random_device)(); + return _random_device(); } -- cgit v1.2.3-18-g5258