diff options
Diffstat (limited to 'src/runtime/NEON/functions/NEWarpAffine.cpp')
-rw-r--r-- | src/runtime/NEON/functions/NEWarpAffine.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/runtime/NEON/functions/NEWarpAffine.cpp b/src/runtime/NEON/functions/NEWarpAffine.cpp index b5dbfe0d5c..1e8907b895 100644 --- a/src/runtime/NEON/functions/NEWarpAffine.cpp +++ b/src/runtime/NEON/functions/NEWarpAffine.cpp @@ -27,7 +27,6 @@ #include "arm_compute/core/Validate.h" #include "src/core/NEON/kernels/NEFillBorderKernel.h" #include "src/core/NEON/kernels/NEWarpKernel.h" -#include "support/MemorySupport.h" #include <utility> @@ -42,14 +41,14 @@ void NEWarpAffine::configure(ITensor *input, ITensor *output, const std::array<f { case InterpolationPolicy::NEAREST_NEIGHBOR: { - auto k = arm_compute::support::cpp14::make_unique<NEWarpAffineKernel<InterpolationPolicy::NEAREST_NEIGHBOR>>(); + auto k = std::make_unique<NEWarpAffineKernel<InterpolationPolicy::NEAREST_NEIGHBOR>>(); k->configure(input, output, matrix, border_mode, constant_border_value); _kernel = std::move(k); break; } case InterpolationPolicy::BILINEAR: { - auto k = arm_compute::support::cpp14::make_unique<NEWarpAffineKernel<InterpolationPolicy::BILINEAR>>(); + auto k = std::make_unique<NEWarpAffineKernel<InterpolationPolicy::BILINEAR>>(); k->configure(input, output, matrix, border_mode, constant_border_value); _kernel = std::move(k); break; @@ -59,7 +58,7 @@ void NEWarpAffine::configure(ITensor *input, ITensor *output, const std::array<f ARM_COMPUTE_ERROR("Interpolation type not supported"); } - auto b = arm_compute::support::cpp14::make_unique<NEFillBorderKernel>(); + auto b = std::make_unique<NEFillBorderKernel>(); b->configure(input, _kernel->border_size(), border_mode, constant_border_value); _border_handler = std::move(b); } |