aboutsummaryrefslogtreecommitdiff
path: root/src/randomization/seed_generator.cpp
blob: 3afa2752249e5e73b96f04745a1580187438920b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include "seed_generator.hpp"

SeedGenerator::SeedGenerator(
	const std::shared_ptr<std::random_device> &random_device) noexcept
	: _random_device(random_device)
{
}

uint32_t SeedGenerator::random_seed() const noexcept
{
	return (*_random_device)();
}