Make EIGEN_HAS_RVALUE_REFERENCES user configurable

This commit is contained in:
Gael Guennebaud
2016-05-20 14:54:20 +02:00
parent f43ae88892
commit 48bf5ec216
7 changed files with 13 additions and 9 deletions

View File

@@ -268,7 +268,7 @@ class Matrix
: Base(internal::constructor_without_unaligned_array_assert())
{ Base::_check_template_params(); EIGEN_INITIALIZE_COEFFS_IF_THAT_OPTION_IS_ENABLED }
#ifdef EIGEN_HAS_RVALUE_REFERENCES
#if EIGEN_HAS_RVALUE_REFERENCES
EIGEN_DEVICE_FUNC
Matrix(Matrix&& other)
: Base(std::move(other))