diff options
author | acxz <5379597-acxz@users.noreply.gitlab.com> | 2020-10-12 21:52:00 -0400 |
---|---|---|
committer | Rasmus Munk Larsen <rmlarsen@google.com> | 2020-11-12 04:34:12 +0000 |
commit | b714dd9701752f4c3961d577d20055ed105154df (patch) | |
tree | 1820dcd4fc681fab92788b26e095a9488dd5efde /Eigen/src/Core/util/Macros.h | |
parent | e24a1f57e35f3f3894a5612bb8b4e34bf68ebb26 (diff) |
remove annotation for first declaration of default con/destruction
Diffstat (limited to 'Eigen/src/Core/util/Macros.h')
-rw-r--r-- | Eigen/src/Core/util/Macros.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Eigen/src/Core/util/Macros.h b/Eigen/src/Core/util/Macros.h index 5023a6332..c021cc32d 100644 --- a/Eigen/src/Core/util/Macros.h +++ b/Eigen/src/Core/util/Macros.h @@ -1103,7 +1103,7 @@ namespace Eigen { * This is necessary, because the implicit definition is deprecated if the copy-assignment is overridden. */ #if EIGEN_HAS_CXX11 -#define EIGEN_DEFAULT_COPY_CONSTRUCTOR(CLASS) EIGEN_DEVICE_FUNC CLASS(const CLASS&) = default; +#define EIGEN_DEFAULT_COPY_CONSTRUCTOR(CLASS) CLASS(const CLASS&) = default; #else #define EIGEN_DEFAULT_COPY_CONSTRUCTOR(CLASS) #endif @@ -1128,12 +1128,12 @@ namespace Eigen { */ #if EIGEN_HAS_CXX11 #define EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(Derived) \ - EIGEN_DEVICE_FUNC Derived() = default; \ - EIGEN_DEVICE_FUNC ~Derived() = default; + Derived() = default; \ + ~Derived() = default; #else #define EIGEN_DEFAULT_EMPTY_CONSTRUCTOR_AND_DESTRUCTOR(Derived) \ - EIGEN_DEVICE_FUNC Derived() {}; \ - /* EIGEN_DEVICE_FUNC ~Derived() {}; */ + Derived() {}; \ + /* ~Derived() {}; */ #endif |