From 937a3e0e930875b18a99539bf7ef118bcd83b2c5 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 23 Jan 2018 06:29:17 +0200 Subject: [PATCH] Remove tabs --- include/boost/smart_ptr/detail/sp_counted_base_clang.hpp | 4 ++-- include/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp | 4 ++-- include/boost/smart_ptr/local_shared_ptr.hpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp b/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp index 8b3bfad..5d6e073 100644 --- a/include/boost/smart_ptr/detail/sp_counted_base_clang.hpp +++ b/include/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: diff --git a/include/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp b/include/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp index 7a188f8..9f562b9 100644 --- a/include/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp +++ b/include/boost/smart_ptr/detail/sp_counted_base_std_atomic.hpp @@ -64,8 +64,8 @@ private: sp_counted_base( sp_counted_base const & ); sp_counted_base & operator= ( sp_counted_base const & ); - std::atomic_int_least32_t use_count_; // #shared - std::atomic_int_least32_t weak_count_; // #weak + (#shared != 0) + std::atomic_int_least32_t use_count_; // #shared + std::atomic_int_least32_t weak_count_; // #weak + (#shared != 0) public: diff --git a/include/boost/smart_ptr/local_shared_ptr.hpp b/include/boost/smart_ptr/local_shared_ptr.hpp index 0d1fa01..1bf1fdf 100644 --- a/include/boost/smart_ptr/local_shared_ptr.hpp +++ b/include/boost/smart_ptr/local_shared_ptr.hpp @@ -239,9 +239,9 @@ public: template< class Y, class D > local_shared_ptr( boost::movelib::unique_ptr< Y, D > r ); // ! - // : px( r.get() ), pn( new boost::detail::local_counted_impl( shared_ptr( std::move(r) ) ) ) + // : px( r.get() ), pn( new boost::detail::local_counted_impl( shared_ptr( std::move(r) ) ) ) //{ - // boost::detail::sp_assert_convertible< Y, T >(); + // boost::detail::sp_assert_convertible< Y, T >(); //} // copy constructor