Skip to content

Commit c4b05b9

Browse files
committed
loop var const ref
1 parent f889090 commit c4b05b9

File tree

1 file changed

+1
-1
lines changed
  • onnxruntime/test/autoep/library/example_plugin_ep_virt_gpu

1 file changed

+1
-1
lines changed

onnxruntime/test/autoep/library/example_plugin_ep_virt_gpu/ep.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ OrtStatus* EpVirtualGpu::CreateEpContextNodes(gsl::span<const OrtNode*> fused_no
204204
std::vector<std::string> value_names;
205205
value_names.reserve(value_infos.size());
206206

207-
for (const auto vi : value_infos) {
207+
for (const auto& vi : value_infos) {
208208
value_names.push_back(vi.GetName());
209209
}
210210

0 commit comments

Comments
 (0)