diff --git a/include/podio/ROOTReader.h b/include/podio/ROOTReader.h index e91bde328..1db7d4202 100644 --- a/include/podio/ROOTReader.h +++ b/include/podio/ROOTReader.h @@ -35,7 +35,8 @@ class ROOTReader : public IReader { public: ROOTReader() = default; - ~ROOTReader() = default; + // todo: see https://github.com/AIDASoft/podio/issues/290 + ~ROOTReader(); // NOLINT(modernize-use-equals-default) // non-copyable ROOTReader(const ROOTReader&) = delete; diff --git a/src/ROOTReader.cc b/src/ROOTReader.cc index 8c1a294fc..4ec7d81bc 100644 --- a/src/ROOTReader.cc +++ b/src/ROOTReader.cc @@ -15,6 +15,9 @@ #include namespace podio { +// todo: see https://github.com/AIDASoft/podio/issues/290 +ROOTReader::~ROOTReader() { // NOLINT(modernize-use-equals-default) +} std::pair ROOTReader::getLocalTreeAndEntry(const std::string& treename) { auto localEntry = m_chain->LoadTree(m_eventNumber);