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/TensorImagePatch.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h') diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h b/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h index a8247be90..2b2f4a650 100644 --- a/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h +++ b/unsupported/Eigen/CXX11/src/Tensor/TensorImagePatch.h @@ -252,7 +252,8 @@ struct TensorEvaluator, Device> RawAccess = false }; - using OutputTensorBlock = internal::TensorBlock; + typedef internal::TensorBlock + OutputTensorBlock; #ifdef __SYCL_DEVICE_ONLY__ EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE TensorEvaluator( const XprType op, const Device& device) @@ -557,8 +558,8 @@ struct TensorEvaluator, Device> EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void block( OutputTensorBlock* output_block) const { - using ImagePatchCopyOp = internal::ImagePatchCopyOp; - using ImagePatchPaddingOp = internal::ImagePatchPaddingOp; + typedef internal::ImagePatchCopyOp ImagePatchCopyOp; + typedef internal::ImagePatchPaddingOp ImagePatchPaddingOp; // Calculate loop limits and various input/output dim sizes. const DSizes& block_sizes = output_block->block_sizes(); -- cgit v1.2.3