diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h b/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h index 62c5caf6c..6ffa1f5cc 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorTraits.h @@ -56,7 +56,9 @@ struct traits > Options = Options_, Flags = compute_tensor_flags::ret | (is_const::value ? 0 : LvalueBit) }; - template using MakePointer = MakePointer; + template struct MakePointer{ + typedef T* Type; + }; }; @@ -72,7 +74,9 @@ struct traits::ret | (is_const::value ? 0: LvalueBit) }; - template using MakePointer = MakePointer_; + template struct MakePointer{ + typedef typename MakePointer_::Type Type; + }; }; @@ -90,7 +94,9 @@ struct traits > Options = Options_, Flags = BaseTraits::Flags }; - template using MakePointer = MakePointer_; + template struct MakePointer{ + typedef typename MakePointer_::Type Type; + }; }; template