Skip to content

Commit 43eb177

Browse files
committed
Removing curly braces
1 parent 7b82026 commit 43eb177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/ML/src/OrtInterface.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ void OrtModel::reset(std::unordered_map<std::string, std::string> optionsMap)
133133
},
134134
(void*)3);
135135
(pImplOrt->env)->DisableTelemetryEvents(); // Disable telemetry events
136-
pImplOrt->session = std::make_shared<Ort::Session>({*(pImplOrt->env), modelPath.c_str(), pImplOrt->sessionOptions});
136+
pImplOrt->session = std::make_shared<Ort::Session>(*(pImplOrt->env), modelPath.c_str(), pImplOrt->sessionOptions);
137137

138138
for (size_t i = 0; i < (pImplOrt->session)->GetInputCount(); ++i) {
139139
mInputNames.push_back((pImplOrt->session)->GetInputNameAllocated(i, pImplOrt->allocator).get());

0 commit comments

Comments
 (0)