bug #898: add inline hint to const_cast_ptr

This commit is contained in:
Christoph Hertzberg 2014-10-28 14:49:44 +01:00
parent bd2d330b25
commit e2e7ba9f85

View File

@ -371,7 +371,7 @@ template<typename T, int n, typename PlainObject = typename eval<T>::type> struc
template<typename T> template<typename T>
EIGEN_DEVICE_FUNC EIGEN_DEVICE_FUNC
T* const_cast_ptr(const T* ptr) inline T* const_cast_ptr(const T* ptr)
{ {
return const_cast<T*>(ptr); return const_cast<T*>(ptr);
} }