aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Minimum.hpp
diff options
context:
space:
mode:
authorMatthew Bentham <matthew.bentham@arm.com>2022-05-16 12:04:58 +0100
committerRyan OShea <ryan.oshea3@arm.com>2022-05-18 14:27:06 +0100
commit85edad42b8b76e76c5d969e4bc380b0e8a845c9b (patch)
treeed836752db0b620340fe5045d698e7caccf562bb /src/backends/reference/workloads/Minimum.hpp
parent3570a3896d629a41c4e032880fca193c333dd3cf (diff)
downloadarmnn-85edad42b8b76e76c5d969e4bc380b0e8a845c9b.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.hpp5
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
{