From f43ae88892be4dddf895043d2c51ef354a404a00 Mon Sep 17 00:00:00 2001 From: Gael Guennebaud Date: Fri, 20 May 2016 14:48:51 +0200 Subject: [PATCH] Rename EIGEN_HAVE_RVALUE_REFERENCES to EIGEN_HAS_RVALUE_REFERENCES --- Eigen/src/Core/Array.h | 2 +- Eigen/src/Core/DenseStorage.h | 6 +++--- Eigen/src/Core/Matrix.h | 2 +- Eigen/src/Core/PlainObjectBase.h | 2 +- Eigen/src/Core/util/Macros.h | 2 +- test/rvalue_types.cpp | 2 +- unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Eigen/src/Core/Array.h b/Eigen/src/Core/Array.h index 7480d1e24..f296dd495 100644 --- a/Eigen/src/Core/Array.h +++ b/Eigen/src/Core/Array.h @@ -147,7 +147,7 @@ class Array } #endif -#ifdef EIGEN_HAVE_RVALUE_REFERENCES +#ifdef EIGEN_HAS_RVALUE_REFERENCES EIGEN_DEVICE_FUNC Array(Array&& other) : Base(std::move(other)) diff --git a/Eigen/src/Core/DenseStorage.h b/Eigen/src/Core/DenseStorage.h index 340484610..cf55b6b35 100644 --- a/Eigen/src/Core/DenseStorage.h +++ b/Eigen/src/Core/DenseStorage.h @@ -362,7 +362,7 @@ template class DenseStorage class DenseStorage class DenseStorage::type } #endif -#ifdef EIGEN_HAVE_RVALUE_REFERENCES +#ifdef EIGEN_HAS_RVALUE_REFERENCES EIGEN_DEVICE_FUNC PlainObjectBase(PlainObjectBase&& other) : m_storage( std::move(other.m_storage) ) diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 4d5fcf0ac..4fe0dde8f 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -352,7 +352,7 @@ (__has_feature(cxx_rvalue_references) || \ (defined(__cplusplus) && __cplusplus >= 201103L) || \ (EIGEN_COMP_MSVC >= 1600)) - #define EIGEN_HAVE_RVALUE_REFERENCES + #define EIGEN_HAS_RVALUE_REFERENCES #endif // Does the compiler support C99? diff --git a/test/rvalue_types.cpp b/test/rvalue_types.cpp index 3eebfc61b..b4eda140c 100644 --- a/test/rvalue_types.cpp +++ b/test/rvalue_types.cpp @@ -11,7 +11,7 @@ #include -#ifdef EIGEN_HAVE_RVALUE_REFERENCES +#ifdef EIGEN_HAS_RVALUE_REFERENCES template void rvalue_copyassign(const MatrixType& m) { diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h b/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h index b27ee0084..4ff965f61 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorFixedSize.h @@ -309,7 +309,7 @@ class TensorFixedSize : public TensorBase