bug #898: add inline hint to const_cast_ptr

This commit is contained in:
Christoph Hertzberg 2014-10-28 14:51:05 +01:00
parent 13c636d864
commit 0e7a26c19f

View File

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