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

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

unsigned int SeedGenerator::random_seed() const
{
	return (*_random_device)();
}