diff --git a/seed_file_management.cpp b/seed_file_management.cpp index 1c6bbce..240a4ff 100644 --- a/seed_file_management.cpp +++ b/seed_file_management.cpp @@ -13,7 +13,7 @@ #include namespace fortuna { -bool SeedFileManager::RUNNING{false}; +constinit bool SeedFileManager::RUNNING{false}; SeedFileManager::SeedFileManager( const fortuna::accumulator::Accumulator& accumulator) noexcept { diff --git a/seed_file_management.h b/seed_file_management.h index 1b38338..bfa85b9 100644 --- a/seed_file_management.h +++ b/seed_file_management.h @@ -33,7 +33,7 @@ protected: private: const conf config; - static bool RUNNING; + static constinit bool RUNNING; DoTask do_task; fortuna::accumulator::Accumulator accumulator;