diff options
Diffstat (limited to 'boost/smart_ptr/detail/sp_counted_base_clang.hpp')
-rw-r--r-- | boost/smart_ptr/detail/sp_counted_base_clang.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/boost/smart_ptr/detail/sp_counted_base_clang.hpp b/boost/smart_ptr/detail/sp_counted_base_clang.hpp index 8b3bfad9b6..5d6e073d95 100644 --- a/boost/smart_ptr/detail/sp_counted_base_clang.hpp +++ b/boost/smart_ptr/detail/sp_counted_base_clang.hpp @@ -70,8 +70,8 @@ private: sp_counted_base( sp_counted_base const & ); sp_counted_base & operator= ( sp_counted_base const & ); - atomic_int_least32_t use_count_; // #shared - atomic_int_least32_t weak_count_; // #weak + (#shared != 0) + atomic_int_least32_t use_count_; // #shared + atomic_int_least32_t weak_count_; // #weak + (#shared != 0) public: |