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/Log.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/Log.hpp')
-rw-r--r-- | src/backends/reference/workloads/Log.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/backends/reference/workloads/Log.hpp b/src/backends/reference/workloads/Log.hpp index 98b6b824cc..46c04d9be4 100644 --- a/src/backends/reference/workloads/Log.hpp +++ b/src/backends/reference/workloads/Log.hpp @@ -9,9 +9,12 @@ namespace armnn { - template<typename T> -struct log : public std::unary_function<T, T> +template<typename T> +struct log { + typedef T result_type; + typedef T argument_type; + T operator () (const T& inputData) const { |