From 1b0373ae10687ecc51ad9a0bfd46aa4ee116ade1 Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Wed, 1 Aug 2018 15:55:46 -0700 Subject: Replace all using declarations with typedefs in Tensor ops --- unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h b/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h index f94c1380d..fbe69aabc 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorShuffling.h @@ -119,10 +119,12 @@ struct TensorEvaluator, Device> RawAccess = false }; - using ScalarNoConst = typename internal::remove_const::type; + typedef typename internal::remove_const::type ScalarNoConst; - using TensorBlock = internal::TensorBlock; - using TensorBlockReader = internal::TensorBlockReader; + typedef internal::TensorBlock + TensorBlock; + typedef internal::TensorBlockReader + TensorBlockReader; EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device) @@ -417,10 +419,12 @@ struct TensorEvaluator, Device> RawAccess = false }; - using ScalarNoConst = typename internal::remove_const::type; + typedef typename internal::remove_const::type ScalarNoConst; - using TensorBlock = internal::TensorBlock; - using TensorBlockWriter = internal::TensorBlockWriter; + typedef internal::TensorBlock + TensorBlock; + typedef internal::TensorBlockWriter + TensorBlockWriter; EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator(const XprType& op, const Device& device) : Base(op, device) -- cgit v1.2.3