diff --git a/test/cfoa/exception_helpers.hpp b/test/cfoa/exception_helpers.hpp index 9c82e506..0fd63833 100644 --- a/test/cfoa/exception_helpers.hpp +++ b/test/cfoa/exception_helpers.hpp @@ -174,7 +174,7 @@ template struct stateful_allocator bool operator!=(stateful_allocator const& rhs) const { return x_ != rhs.x_; } }; -template std::atomic stateful_allocator::c{0}; +template std::atomic stateful_allocator::c = {}; struct raii {