Skip to content

Commit 7b82026

Browse files
committed
Removing brackets
1 parent 27fa752 commit 7b82026

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
@@ -169,7 +169,7 @@ void OrtModel::reset(std::unordered_map<std::string, std::string> optionsMap)
169169

170170
void OrtModel::resetSession()
171171
{
172-
pImplOrt->session = std::make_shared<Ort::Session>({*(pImplOrt->env), modelPath.c_str(), pImplOrt->sessionOptions});
172+
pImplOrt->session = std::make_shared<Ort::Session>(*(pImplOrt->env), modelPath.c_str(), pImplOrt->sessionOptions);
173173
}
174174

175175
template <class I, class O>

0 commit comments

Comments
 (0)