From 422eb6fd8d287715418ce590ac35fdcbf2ed355e Mon Sep 17 00:00:00 2001 From: surtur Date: Thu, 20 Jan 2022 01:53:38 +0100 Subject: [PATCH] fortuna(SFM service): assert '_p_pools' ptrs equal --- fortuna.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/fortuna.cpp b/fortuna.cpp index 2fd53a5..3ae5e1c 100644 --- a/fortuna.cpp +++ b/fortuna.cpp @@ -161,6 +161,7 @@ auto Fortuna::seed_file_manager_service() -> void { auto right_now{fortuna::Util::current_time()}; std::unique_lock mtx_l(mtx); std::unique_lock a_ul(accu_mtx); + assert(this->accumulator._p_pools_equal(this->R._p_pools)); SeedFileManager sfm(this->accumulator); a_ul.unlock(); mtx_l.unlock();