remove BOOST_NO_RVALUE_REFERENCES
This commit is contained in:
parent
e5734ac437
commit
d57726081c
2 changed files with 1 additions and 19 deletions
|
@ -140,13 +140,9 @@ public:
|
|||
|
||||
public:
|
||||
// RValues-related functions
|
||||
#ifndef BOOST_NO_RVALUE_REFERENCES
|
||||
|
||||
PlasticSkeleton(PlasticSkeleton &&other);
|
||||
PlasticSkeleton &operator=(PlasticSkeleton &&other);
|
||||
|
||||
#endif
|
||||
|
||||
private:
|
||||
friend class PlasticSkeletonDeformation; // Skeleton deformations can register to be notified
|
||||
|
||||
|
|
|
@ -103,12 +103,8 @@ public:
|
|||
Imp(const Imp &other);
|
||||
Imp &operator=(const Imp &other);
|
||||
|
||||
#ifndef BOOST_NO_RVALUE_REFERENCES
|
||||
|
||||
Imp(Imp &&other);
|
||||
Imp &operator=(Imp &&other);
|
||||
|
||||
#endif
|
||||
};
|
||||
|
||||
//===============================================================================
|
||||
|
@ -127,9 +123,6 @@ PlasticSkeleton::Imp &PlasticSkeleton::Imp::operator=(const Imp &other)
|
|||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
|
||||
#ifndef BOOST_NO_RVALUE_REFERENCES
|
||||
|
||||
PlasticSkeleton::Imp::Imp(Imp &&other)
|
||||
: m_numbersPool(std::move(other.m_numbersPool))
|
||||
{
|
||||
|
@ -143,8 +136,6 @@ PlasticSkeleton::Imp &PlasticSkeleton::Imp::operator=(Imp &&other)
|
|||
return *this;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//************************************************************************************
|
||||
// PlasticSkeleton implementation
|
||||
//************************************************************************************
|
||||
|
@ -181,9 +172,6 @@ PlasticSkeleton &PlasticSkeleton::operator=(const PlasticSkeleton &other)
|
|||
}
|
||||
|
||||
//------------------------------------------------------------------
|
||||
|
||||
#ifndef BOOST_NO_RVALUE_REFERENCES
|
||||
|
||||
PlasticSkeleton::PlasticSkeleton(PlasticSkeleton &&other)
|
||||
: mesh_type(std::forward<mesh_type>(other)), m_imp(new Imp(std::move(*other.m_imp)))
|
||||
{
|
||||
|
@ -201,8 +189,6 @@ PlasticSkeleton &PlasticSkeleton::operator=(PlasticSkeleton &&other)
|
|||
return *this;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//------------------------------------------------------------------
|
||||
|
||||
void PlasticSkeleton::addListener(PlasticSkeletonDeformation *deformation)
|
||||
|
|
Loading…
Reference in a new issue