Skip to content

Commit

Permalink
[backport] hotfix for #290 (#307) (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener authored Jun 24, 2022
1 parent 5331777 commit 94dfccc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/podio/ROOTReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 3 additions & 0 deletions src/ROOTReader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
#include <memory>

namespace podio {
// todo: see https://github.com/AIDASoft/podio/issues/290
ROOTReader::~ROOTReader() { // NOLINT(modernize-use-equals-default)
}

std::pair<TTree*, unsigned> ROOTReader::getLocalTreeAndEntry(const std::string& treename) {
auto localEntry = m_chain->LoadTree(m_eventNumber);
Expand Down

0 comments on commit 94dfccc

Please sign in to comment.