Skip to content
Snippets Groups Projects
Commit 4caf77ad authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

TFCSONNXHandler: fixed clang warning

Braces around scalar initializer
parent 02eeeeac
No related branches found
No related tags found
No related merge requests found
......@@ -324,7 +324,7 @@ void TFCSONNXHandler::writeBytesToTTree(TTree &tree,
void TFCSONNXHandler::readSerializedSession() {
ATH_MSG_DEBUG("Transforming bytes to session.");
Ort::Env env(ORT_LOGGING_LEVEL_WARNING, "test");
Ort::SessionOptions opts({nullptr});
Ort::SessionOptions opts{nullptr};
m_session =
std::make_unique<Ort::Session>(env, m_bytes.data(), m_bytes.size(), opts);
ATH_MSG_DEBUG("Transformed bytes to session.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment