This commit is contained in:
parent
a68166da57
commit
710ee80f91
2
pool.cpp
2
pool.cpp
|
@ -26,7 +26,7 @@ auto Pool::get_id() const noexcept -> unsigned int {
|
|||
|
||||
auto Pool::initialize_pool(const unsigned int& id) -> void {
|
||||
// ref: https://stackoverflow.com/a/23204682
|
||||
std::call_once(init, [this, id]{ this->set_id(id); } );
|
||||
std::call_once(init, [this, id] { this->set_id(id); });
|
||||
}
|
||||
|
||||
auto Pool::add_entropy(const unsigned int& source,
|
||||
|
|
Reference in New Issue