diff --git a/DDG4/src/Geant4Output2ROOT.cpp b/DDG4/src/Geant4Output2ROOT.cpp index 7e8ca94385a076eb6275053c49ab818f84c1d058..f8119eb2830fd5236000b5546a1e6949c870bda7 100644 --- a/DDG4/src/Geant4Output2ROOT.cpp +++ b/DDG4/src/Geant4Output2ROOT.cpp @@ -56,13 +56,13 @@ void Geant4Output2ROOT::closeOutput() { if (m_file) { TDirectory::TContext ctxt(m_file); Sections::iterator i = m_sections.find(m_section); - info("+++ Closing ROOT ourput file %s", m_file->GetName()); + info("+++ Closing ROOT output file %s", m_file->GetName()); if ( i != m_sections.end() ) m_sections.erase(i); m_branches.clear(); m_tree->Write(); m_file->Close(); - m_tree = 0; + m_tree = nullptr; detail::deletePtr (m_file); } }