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>
|
#include <utility>
|
||||||
|
|
||||||
namespace fortuna {
|
namespace fortuna {
|
||||||
bool SeedFileManager::RUNNING{false};
|
constinit bool SeedFileManager::RUNNING{false};
|
||||||
|
|
||||||
SeedFileManager::SeedFileManager(
|
SeedFileManager::SeedFileManager(
|
||||||
const fortuna::accumulator::Accumulator& accumulator) noexcept {
|
const fortuna::accumulator::Accumulator& accumulator) noexcept {
|
||||||
|
|
|
@ -33,7 +33,7 @@ protected:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
const conf config;
|
const conf config;
|
||||||
static bool RUNNING;
|
static constinit bool RUNNING;
|
||||||
DoTask do_task;
|
DoTask do_task;
|
||||||
fortuna::accumulator::Accumulator accumulator;
|
fortuna::accumulator::Accumulator accumulator;
|
||||||
|
|
||||||
|
|
Reference in New Issue