forked from boostorg/container
Fix "-Wdeprecated-copy" warnings
This commit is contained in:
1 parent
06417de498
commit
974e8e641a
8 files changed
+118
-83
No files matched your search
@@ -82,6 +82,10 @@ bool test_smart_ref_type()
|
||||
class recursive_vector
|
||||
{
|
||||
public:
|
||||
recursive_vector (const recursive_vector &x)
|
||||
: vector_(x.vector_)
|
||||
{}
|
||||
|
||||
recursive_vector & operator=(const recursive_vector &x)
|
||||
{ this->vector_ = x.vector_; return *this; }
|
||||
|
||||
|
||||
Reference in new issue
Block a user