mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-08-02 14:14:27 +02:00
Made value_ mutable to enable operator long() const to compile
[SVN r23208]
This commit is contained in:
@@ -51,7 +51,7 @@ private:
|
|||||||
atomic_count(atomic_count const &);
|
atomic_count(atomic_count const &);
|
||||||
atomic_count & operator=(atomic_count const &);
|
atomic_count & operator=(atomic_count const &);
|
||||||
|
|
||||||
_Atomic_word value_;
|
mutable _Atomic_word value_;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace detail
|
} // namespace detail
|
||||||
|
Reference in New Issue
Block a user