diff options
author | Matthew Bentham <matthew.bentham@arm.com> | 2022-05-16 12:04:58 +0100 |
---|---|---|
committer | Colm Donelan <colm.donelan@arm.com> | 2022-05-16 16:59:36 +0000 |
commit | 9734f0911cdf68e1a7ba8b38167bb958436bc708 (patch) | |
tree | 0e135b99267399fc6e71334abeacacdcfa198ea5 /src/backends/reference/workloads/Minimum.hpp | |
parent | b4dd5cc86d4eb841de670f0f102ede599e0d9c40 (diff) | |
download | armnn-9734f0911cdf68e1a7ba8b38167bb958436bc708.tar.gz |
Github issue #643 remove use of deprecated standard templates
Remove use of std::unary_function and std::binary_function which were
deprecated in C+11.
Signed-off-by: Matthew Bentham <matthew.bentham@arm.com>
Change-Id: I9e4624f570b475595c9e28bdf185ddcc2ddceb2f
Diffstat (limited to 'src/backends/reference/workloads/Minimum.hpp')
-rw-r--r-- | src/backends/reference/workloads/Minimum.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/backends/reference/workloads/Minimum.hpp b/src/backends/reference/workloads/Minimum.hpp index 0c053981a0..f1422773ba 100644 --- a/src/backends/reference/workloads/Minimum.hpp +++ b/src/backends/reference/workloads/Minimum.hpp @@ -9,8 +9,11 @@ namespace armnn { template<typename T> -struct minimum : public std::binary_function<T, T, T> +struct minimum { + typedef T result_type; + typedef T first_argument_type; + T operator()(const T& input1, const T& input2) const { |