mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-31 11:57:15 +02:00
reformulated static member initialization to appease VS2015
This commit is contained in:
@ -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
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user