SeedFileManager: initialize RUNNING with constinit
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
15798773a9
commit
d6e97e3fda
|
@ -13,7 +13,7 @@
|
|||
#include <utility>
|
||||
|
||||
namespace fortuna {
|
||||
bool SeedFileManager::RUNNING{false};
|
||||
constinit bool SeedFileManager::RUNNING{false};
|
||||
|
||||
SeedFileManager::SeedFileManager(
|
||||
const fortuna::accumulator::Accumulator& accumulator) noexcept {
|
||||
|
|
|
@ -33,7 +33,7 @@ protected:
|
|||
|
||||
private:
|
||||
const conf config;
|
||||
static bool RUNNING;
|
||||
static constinit bool RUNNING;
|
||||
DoTask do_task;
|
||||
fortuna::accumulator::Accumulator accumulator;
|
||||
|
||||
|
|
Reference in New Issue