Skip to content

Commit 7859ab2

Browse files
committed
Fixing curly braces
1 parent d0f4dd8 commit 7859ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Common/ML/src/ort_interface.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ void OrtModel::reset(std::unordered_map<std::string, std::string> optionsMap)
145145

146146
void OrtModel::resetSession()
147147
{
148-
(pImplOrt->session).reset(std::make_shared<Ort::Session>{*(pImplOrt->env), modelPath.c_str(), pImplOrt->sessionOptions});
148+
(pImplOrt->session).reset(std::make_shared<Ort::Session>(*(pImplOrt->env), modelPath.c_str(), pImplOrt->sessionOptions));
149149
}
150150

151151
template <class I, class O>

0 commit comments

Comments
 (0)