We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d21992 commit 43a366eCopy full SHA for 43a366e
PhysicsTools/NanoAOD/plugins/NanoAODOutputModule.cc
@@ -273,7 +273,7 @@ void NanoAODOutputModule::writeRun(edm::RunForOutput const& iRun) {
273
throw cms::Exception("LogicError", "Inconsistent nanoMetadata " + p.first + " (" + hstring->str() + ")");
274
} else {
275
auto ostr = std::make_unique<TObjString>(hstring->str().c_str());
276
- m_file->WriteTObject(ostr.release(), p.first.c_str());
+ m_file->WriteTObject(ostr.get(), p.first.c_str());
277
}
278
279
0 commit comments