From e2e7ba9f8511e9394b1823e14b40a727352c95be Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Tue, 28 Oct 2014 14:49:44 +0100 Subject: [PATCH] bug #898: add inline hint to const_cast_ptr --- Eigen/src/Core/util/XprHelper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index f2536714e..463ef85b4 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -371,7 +371,7 @@ template::type> struc template EIGEN_DEVICE_FUNC -T* const_cast_ptr(const T* ptr) +inline T* const_cast_ptr(const T* ptr) { return const_cast(ptr); }