From 91cd67f057f90101cf858d63916ee56a58511b0d Mon Sep 17 00:00:00 2001 From: Cyril Kaiser Date: Sat, 22 May 2021 18:15:32 +0100 Subject: Remove EIGEN_DEVICE_FUNC from CwiseBinaryOp's default copy constructor. --- Eigen/src/Core/CwiseBinaryOp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/CwiseBinaryOp.h b/Eigen/src/Core/CwiseBinaryOp.h index 59974a545..2202b1cc6 100644 --- a/Eigen/src/Core/CwiseBinaryOp.h +++ b/Eigen/src/Core/CwiseBinaryOp.h @@ -102,7 +102,7 @@ class CwiseBinaryOp : #if EIGEN_COMP_MSVC && EIGEN_HAS_CXX11 //Required for Visual Studio or the Copy constructor will probably not get inlined! - EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE + EIGEN_STRONG_INLINE CwiseBinaryOp(const CwiseBinaryOp&) = default; #endif -- cgit v1.2.3