From 0e7a26c19f77049dd7009a836666907a7df5680a Mon Sep 17 00:00:00 2001 From: Christoph Hertzberg Date: Tue, 28 Oct 2014 14:51:05 +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 3c4773054..781965d2c 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h @@ -341,7 +341,7 @@ template::type> str }; template -T* const_cast_ptr(const T* ptr) +inline T* const_cast_ptr(const T* ptr) { return const_cast(ptr); }