forked from boostorg/smart_ptr
Remove tabs
This commit is contained in:
@ -70,8 +70,8 @@ private:
|
|||||||
sp_counted_base( sp_counted_base const & );
|
sp_counted_base( sp_counted_base const & );
|
||||||
sp_counted_base & operator= ( sp_counted_base const & );
|
sp_counted_base & operator= ( sp_counted_base const & );
|
||||||
|
|
||||||
atomic_int_least32_t use_count_; // #shared
|
atomic_int_least32_t use_count_; // #shared
|
||||||
atomic_int_least32_t weak_count_; // #weak + (#shared != 0)
|
atomic_int_least32_t weak_count_; // #weak + (#shared != 0)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -64,8 +64,8 @@ private:
|
|||||||
sp_counted_base( sp_counted_base const & );
|
sp_counted_base( sp_counted_base const & );
|
||||||
sp_counted_base & operator= ( 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 use_count_; // #shared
|
||||||
std::atomic_int_least32_t weak_count_; // #weak + (#shared != 0)
|
std::atomic_int_least32_t weak_count_; // #weak + (#shared != 0)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
@ -239,9 +239,9 @@ public:
|
|||||||
|
|
||||||
template< class Y, class D >
|
template< class Y, class D >
|
||||||
local_shared_ptr( boost::movelib::unique_ptr< Y, D > r ); // !
|
local_shared_ptr( boost::movelib::unique_ptr< Y, D > r ); // !
|
||||||
// : px( r.get() ), pn( new boost::detail::local_counted_impl( shared_ptr<T>( std::move(r) ) ) )
|
// : px( r.get() ), pn( new boost::detail::local_counted_impl( shared_ptr<T>( std::move(r) ) ) )
|
||||||
//{
|
//{
|
||||||
// boost::detail::sp_assert_convertible< Y, T >();
|
// boost::detail::sp_assert_convertible< Y, T >();
|
||||||
//}
|
//}
|
||||||
|
|
||||||
// copy constructor
|
// copy constructor
|
||||||
|
Reference in New Issue
Block a user