diff --git a/src/3rdParty/FastSignals/libfastsignals/include/fastsignals/connection.h b/src/3rdParty/FastSignals/libfastsignals/include/fastsignals/connection.h index 33357c3bf6..bc06075013 100644 --- a/src/3rdParty/FastSignals/libfastsignals/include/fastsignals/connection.h +++ b/src/3rdParty/FastSignals/libfastsignals/include/fastsignals/connection.h @@ -39,7 +39,7 @@ public: bool is_blocked() const noexcept; private: - std::atomic m_blockCounter = ATOMIC_VAR_INIT(0); + std::atomic m_blockCounter {0}; }; using impl_ptr = std::shared_ptr; @@ -73,7 +73,7 @@ private: void increment_if_blocked() const noexcept; std::weak_ptr m_connection; - std::atomic m_blocked = ATOMIC_VAR_INIT(false); + std::atomic m_blocked {false}; }; // Scoped connection keeps link between signal and slot and disconnects them in destructor.