aboutsummaryrefslogtreecommitdiff
path: root/src/core/NEON/kernels/NEMinMaxLocationKernel.cpp
diff options
context:
space:
mode:
authorKohei Takahashi <flast@flast.jp>2018-08-23 10:23:52 +0900
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commitcedb78f24d68a5f4ad3483d21c14798653705f2f (patch)
tree6c749b60c03610e2c610f385d0d65aa56b13c3ae /src/core/NEON/kernels/NEMinMaxLocationKernel.cpp
parentba1ffe96eb4563ba7e18b39728d9db373c62f7c3 (diff)
downloadComputeLibrary-cedb78f24d68a5f4ad3483d21c14798653705f2f.tar.gz
COMPMID-1536: Github PR: Removed redundant const qualifier on cast
GCC (>=8) yields warning w/ -Wignored-qualifers (enabled by -Wextra) on such usage. Change-Id: Ib3284b60cec0ec4faf8c6e6c1e2980cbf5731973 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/145384 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'src/core/NEON/kernels/NEMinMaxLocationKernel.cpp')
-rw-r--r--src/core/NEON/kernels/NEMinMaxLocationKernel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/NEON/kernels/NEMinMaxLocationKernel.cpp b/src/core/NEON/kernels/NEMinMaxLocationKernel.cpp
index b90e81339b..befece2741 100644
--- a/src/core/NEON/kernels/NEMinMaxLocationKernel.cpp
+++ b/src/core/NEON/kernels/NEMinMaxLocationKernel.cpp
@@ -212,7 +212,7 @@ void NEMinMaxKernel::minmax_S16(Window win)
execute_window_loop(win, [&](const Coordinates & id)
{
int x = x_start;
- const auto in_ptr = reinterpret_cast<const int16_t *const>(input.ptr());
+ const auto in_ptr = reinterpret_cast<const int16_t *>(input.ptr());
// Vector loop
for(; x <= x_end - 16; x += 16)
@@ -271,7 +271,7 @@ void NEMinMaxKernel::minmax_F32(Window win)
execute_window_loop(win, [&](const Coordinates & id)
{
int x = x_start;
- const auto in_ptr = reinterpret_cast<const float *const>(input.ptr());
+ const auto in_ptr = reinterpret_cast<const float *>(input.ptr());
// Vector loop
for(; x <= x_end - 8; x += 8)