diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-01-29 12:02:20 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2020-01-29 13:58:53 +0000 |
commit | 47fd61fd38675349e598f0a0f41dc594f4eecb6a (patch) | |
tree | 27b3363e5e17a4ed71aae8bb545dbfd1790a8e0e /src | |
parent | 11fedda86532cf632b9a3ae4b0f57e85f2a7c4f4 (diff) | |
download | ComputeLibrary-47fd61fd38675349e598f0a0f41dc594f4eecb6a.tar.gz |
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 <georgios.pinitas@arm.com>
Change-Id: I063c0d9a75df34cd4669e55ebc63b028a5f861f1
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2656
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/runtime/NEON/functions/NEGEMMAssemblyDispatch.cpp | 3 |
1 files changed, 1 insertions, 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<const int32_t *, const int32_t *> Fallback<TypeInput, TypeOutput, Out { _multipliers = multipliers; _shifts = shifts; - std::transform(_shifts.begin(), _shifts.end(), _shifts.begin(), - std::bind1st(std::multiplies<int32_t>(), -1)); + std::transform(_shifts.begin(), _shifts.end(), _shifts.begin(), std::negate<int32_t>()); return std::make_tuple(_shifts.data(), _multipliers.data()); } |