Remove std::move references. Refs #3570.

[SVN r57957]
This commit is contained in:
Peter Dimov committed 2009-11-26 21:20:47 +00:00
1 parent fa597b877e
commit b691be0af9
3 files changed
+8 -8

No files matched your search

+2 -2
View File
@@ -362,14 +362,14 @@ public:
shared_ptr & operator=( shared_ptr && r ) // never throws
{
this_type( std::move( r ) ).swap( *this );
this_type( static_cast< shared_ptr && >( r ) ).swap( *this );
return *this;
}
template<class Y>
shared_ptr & operator=( shared_ptr<Y> && r ) // never throws
{
this_type( std::move( r ) ).swap( *this );
this_type( static_cast< shared_ptr<Y> && >( r ) ).swap( *this );
return *this;
}