Skip to content

Commit 30c6825

Browse files
authored
[OpenVINO] Fix a build warning (#23877)
### Description Fix a warning with std::move usage ### Motivation and Context Possibly allow building without --compile_no_warning_as_error flag
1 parent 325ee30 commit 30c6825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnxruntime/core/providers/openvino/backends/basic_backend.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ void BasicBackend::CompleteAsyncInference(Ort::KernelContext& context, OVInferRe
653653
const auto& out_name = item.first;
654654
auto node = item.second;
655655
Ort::UnownedValue output_tensor = GetOutputTensor(context,
656-
std::move(out_name),
656+
out_name,
657657
subgraph_context_.output_names,
658658
node);
659659
auto mem_info = output_tensor.GetTensorMemoryInfo();

0 commit comments

Comments
 (0)