reformulated static member initialization to appease VS2015

This commit is contained in:
joaquintides
2023-05-20 12:16:30 +02:00
parent ffcae204ee
commit ddb1148a31

View File

@ -174,7 +174,7 @@ template <class T> struct stateful_allocator
bool operator!=(stateful_allocator const& rhs) const { return x_ != rhs.x_; } bool operator!=(stateful_allocator const& rhs) const { return x_ != rhs.x_; }
}; };
template <class T> std::atomic<std::uint32_t> stateful_allocator<T>::c{0}; template <class T> std::atomic<std::uint32_t> stateful_allocator<T>::c = {};
struct raii struct raii
{ {