From 47fd61fd38675349e598f0a0f41dc594f4eecb6a Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Wed, 29 Jan 2020 12:02:20 +0000 Subject: COMPMID-2819: Remove use of std::bind1st as is deprecated since C++11 Use std::negate to negate the values of a vector instead std::bind1st Signed-off-by: Georgios Pinitas Change-Id: I063c0d9a75df34cd4669e55ebc63b028a5f861f1 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2656 Tested-by: Arm Jenkins Reviewed-by: Giorgio Arena Comments-Addressed: Arm Jenkins --- src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp b/src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp index 4e43d04446..91b91d6668 100644 --- a/src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp +++ b/src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp @@ -241,8 +241,7 @@ std::tuple Fallback(), -1)); + std::transform(_shifts.begin(), _shifts.end(), _shifts.begin(), std::negate()); return std::make_tuple(_shifts.data(), _multipliers.data()); } -- cgit v1.2.1