mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
removed EIGEN_HAS_CXX11_* and redundant EIGEN_COMP_CXXVER checks
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
9d3ffb3fbf
commit
f33a31b823
@@ -319,7 +319,6 @@ public:
|
||||
EIGEN_DEVICE_FUNC explicit inline Quaternion(const Quaternion<OtherScalar, OtherOptions>& other)
|
||||
{ m_coeffs = other.coeffs().template cast<Scalar>(); }
|
||||
|
||||
#if EIGEN_HAS_RVALUE_REFERENCES
|
||||
// We define a copy constructor, which means we don't get an implicit move constructor or assignment operator.
|
||||
/** Default move constructor */
|
||||
EIGEN_DEVICE_FUNC inline Quaternion(Quaternion&& other) EIGEN_NOEXCEPT_IF(std::is_nothrow_move_constructible<Scalar>::value)
|
||||
@@ -332,7 +331,6 @@ public:
|
||||
m_coeffs = std::move(other.coeffs());
|
||||
return *this;
|
||||
}
|
||||
#endif
|
||||
|
||||
EIGEN_DEVICE_FUNC static Quaternion UnitRandom();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user