forked from boostorg/unordered
Remove BOOST_RV_REF
This commit is contained in:
@@ -171,8 +171,8 @@ namespace test {
|
||||
movable1(constructor_param const&) {}
|
||||
movable1() {}
|
||||
explicit movable1(movable_init) {}
|
||||
movable1(BOOST_RV_REF(movable1)) {}
|
||||
movable1& operator=(BOOST_RV_REF(movable1)) { return *this; }
|
||||
movable1(movable1&&) {}
|
||||
movable1& operator=(movable1&&) { return *this; }
|
||||
~movable1() {}
|
||||
void dummy_member() const {}
|
||||
};
|
||||
|
||||
@@ -106,7 +106,7 @@ namespace test {
|
||||
BOOST_TEST(x.tag1_ != -1);
|
||||
}
|
||||
|
||||
movable(BOOST_RV_REF(movable) x)
|
||||
movable(movable&& x)
|
||||
: counted_object(x), tag1_(x.tag1_), tag2_(x.tag2_)
|
||||
{
|
||||
BOOST_TEST(x.tag1_ != -1);
|
||||
@@ -122,7 +122,7 @@ namespace test {
|
||||
return *this;
|
||||
}
|
||||
|
||||
movable& operator=(BOOST_RV_REF(movable) x) // Move assignment
|
||||
movable& operator=(movable&& x) // Move assignment
|
||||
{
|
||||
BOOST_TEST(x.tag1_ != -1);
|
||||
tag1_ = x.tag1_;
|
||||
|
||||
Reference in New Issue
Block a user