From ddb1148a3113871c88952f2097f5a97ea2fca1f1 Mon Sep 17 00:00:00 2001 From: joaquintides Date: Sat, 20 May 2023 12:16:30 +0200 Subject: [PATCH] reformulated static member initialization to appease VS2015 --- test/cfoa/exception_helpers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {