| commit | e2e7ba9f8511e9394b1823e14b40a727352c95be | [log] [tgz] |
|---|---|---|
| author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | Tue Oct 28 14:49:44 2014 +0100 |
| committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | Tue Oct 28 14:49:44 2014 +0100 |
| tree | 8439fb42994f56ffb1a6a866269eaf5fe748357a | |
| parent | bd2d330b25f4f57b64ddc125c70dadd42e1e3349 [diff] |
bug #898: add inline hint to const_cast_ptr
diff --git a/Eigen/src/Core/util/XprHelper.h b/Eigen/src/Core/util/XprHelper.h index f253671..463ef85 100644 --- a/Eigen/src/Core/util/XprHelper.h +++ b/Eigen/src/Core/util/XprHelper.h
@@ -371,7 +371,7 @@ 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); }