From a9c3267d1a20e69a9cc0ae98b52958a6277e2f0d Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Mon, 4 Dec 2023 17:23:09 +0000 Subject: IVGCVSW-8159 Fixed issues building with NDK r26 * The compiler shipped with NDK r26 has stricter rules around certain warnings and deprecation notices. * Fixed warnings for unqualified call to 'std::move' * Fixed error where the half values weren't being cast to a float when calling 'std::nan' * Removed unnecessary subtensor unit tests for neon Signed-off-by: Mike Kelly Change-Id: I4ceb46e55ff5f2a754452e3a43de2188d58bf927 --- src/armnn/ExecutionFrame.cpp | 2 +- src/armnn/ExecutionFrame.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/armnn') diff --git a/src/armnn/ExecutionFrame.cpp b/src/armnn/ExecutionFrame.cpp index 92a7990881..118fa7ead8 100644 --- a/src/armnn/ExecutionFrame.cpp +++ b/src/armnn/ExecutionFrame.cpp @@ -39,7 +39,7 @@ void ExecutionFrame::RegisterDebugCallback(const DebugCallbackFunction& func) void ExecutionFrame::AddWorkloadToQueue(std::unique_ptr workload) { - m_WorkloadQueue.push_back(move(workload)); + m_WorkloadQueue.push_back(std::move(workload)); } void ExecutionFrame::SetNextExecutionFrame(IExecutionFrame* nextExecutionFrame) diff --git a/src/armnn/ExecutionFrame.hpp b/src/armnn/ExecutionFrame.hpp index 20a5da0256..3f2407b202 100644 --- a/src/armnn/ExecutionFrame.hpp +++ b/src/armnn/ExecutionFrame.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2017 Arm Ltd. All rights reserved. +// Copyright © 2019-2021,2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // -- cgit v1.2.1