diff --git a/accumulator.cpp b/accumulator.cpp index 33787be..830e877 100644 --- a/accumulator.cpp +++ b/accumulator.cpp @@ -12,7 +12,7 @@ auto wait_for(uint milliseconds) -> void { std::this_thread::sleep_for(std::chrono::milliseconds{milliseconds}); } -Accumulator::Accumulator() { +Accumulator::Accumulator() noexcept { this->Gen = nullptr; } Accumulator::~Accumulator() noexcept {}; diff --git a/accumulator.h b/accumulator.h index 9c405c5..f1f4b54 100644 --- a/accumulator.h +++ b/accumulator.h @@ -63,7 +63,7 @@ public: auto pools_service() -> int; - Accumulator(); + Accumulator() noexcept; ~Accumulator() noexcept; }; //class Accumulator