rename: set_gen() -> set_gen_ptr()
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
surtur 2022-01-30 20:48:08 +01:00
parent 01238c805a
commit dc1ab343eb
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D
3 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ auto Accumulator::set_pools_ptr(
this->_p_pools = p_pools;
}
auto Accumulator::set_gen(fortuna::generator::Generator& gen) -> void {
auto Accumulator::set_gen_ptr(fortuna::generator::Generator& gen) -> void {
this->Gen = &gen;
}

View File

@ -71,7 +71,7 @@ public:
std::array<accumulator::Pool, Accumulator::NUM_OF_POOLS>>
p_pools) noexcept -> void;
auto set_gen(fortuna::generator::Generator& Gen) -> void;
auto set_gen_ptr(fortuna::generator::Generator& Gen) -> void;
auto get_random_data(const unsigned int& n_bytes) -> std::string;

View File

@ -67,7 +67,7 @@ public:
}
this->_p_accumulator->set_pools_ptr(R._p_pools);
this->_p_accumulator->set_gen(R.Gen);
this->_p_accumulator->set_gen_ptr(R.Gen);
this->sync_point.count_down();
}