mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-20 00:29:38 +08:00
bug #898: add inline hint to const_cast_ptr
This commit is contained in:
parent
bd2d330b25
commit
e2e7ba9f85
@ -371,7 +371,7 @@ template<typename T, int n, typename PlainObject = typename eval<T>::type> struc
|
||||
|
||||
template<typename T>
|
||||
EIGEN_DEVICE_FUNC
|
||||
T* const_cast_ptr(const T* ptr)
|
||||
inline T* const_cast_ptr(const T* ptr)
|
||||
{
|
||||
return const_cast<T*>(ptr);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user