diff --git a/accumulator.cpp b/accumulator.cpp index b33c071..13aa088 100644 --- a/accumulator.cpp +++ b/accumulator.cpp @@ -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; } diff --git a/accumulator.h b/accumulator.h index 6071c1f..27f5441 100644 --- a/accumulator.h +++ b/accumulator.h @@ -71,7 +71,7 @@ public: std::array> 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; diff --git a/fortuna.h b/fortuna.h index ce7b08c..391d51d 100644 --- a/fortuna.h +++ b/fortuna.h @@ -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(); }