aboutsummaryrefslogtreecommitdiff
path: root/tests/AssetsLibrary.h
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 /tests/AssetsLibrary.h
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 'tests/AssetsLibrary.h')
-rw-r--r--tests/AssetsLibrary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/AssetsLibrary.h b/tests/AssetsLibrary.h
index fd2bc99b0f..b1c8c430ad 100644
--- a/tests/AssetsLibrary.h
+++ b/tests/AssetsLibrary.h
@@ -480,7 +480,7 @@ void AssetsLibrary::fill(T &&tensor, D &&distribution, std::random_device::resul
for(int channel = 0; channel < tensor.num_channels(); ++channel)
{
const ResultType value = distribution(gen);
- ResultType &target_value = reinterpret_cast<ResultType *const>(tensor(id))[channel];
+ ResultType &target_value = reinterpret_cast<ResultType *>(tensor(id))[channel];
store_value_with_data_type(&target_value, value, tensor.data_type());
}