diff --git a/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc b/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc index 5c345b8a4339e..a386a54df483f 100644 --- a/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc +++ b/onnxruntime/core/providers/tensorrt/tensorrt_execution_provider.cc @@ -2497,7 +2497,7 @@ TensorrtExecutionProvider::GetCapability(const GraphViewer& graph, const auto& node = graph.GetNode(node_index[i]); const bool is_context_node = node && !node->OpType().empty() && node->OpType() == "EPContext"; if (is_context_node) { - SubGraph_t supported_node_vector (std::vector{i}, true); + SubGraph_t supported_node_vector(std::vector{i}, true); std::unique_ptr sub_graph = GetSubGraph(supported_node_vector, graph, model_hash, subgraph_idx++); result.push_back(ComputeCapability::Create(std::move(sub_graph))); }