diff options
author | Eugene Zhulenev <ezhulenev@google.com> | 2019-08-28 17:46:05 -0700 |
---|---|---|
committer | Eugene Zhulenev <ezhulenev@google.com> | 2019-08-28 17:46:05 -0700 |
commit | bc40d4522c56fdf861fcdab28f4b7db609d8065e (patch) | |
tree | 82b4f2497c79da6a7f77e46e585ce7c61632fbdc /unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h | |
parent | 1187bb65ad196161a07f4e0125e478d022ea1b08 (diff) |
Const correctness in TensorMap<const Tensor<T, ...>> expressions
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h')
-rw-r--r-- | unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h b/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h index a95f22631..3cca0c7e9 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorForwardDeclarations.h @@ -20,6 +20,7 @@ namespace Eigen { // map_allocator. template<typename T> struct MakePointer { typedef T* Type; + typedef const T* ConstType; }; template <typename T> |