Skip to content

Commit

Permalink
Initialize m_readerEntries
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Nov 28, 2024
1 parent f5ba504 commit 0c3935b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/podio/RNTupleReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class RNTupleReader {
// Map category to a vector that contains at how many entries each reader starts
// For example, if we have 3 readers and the first one has 10 entries, the second one 20 and the third one 30
// then the vector will be {0, 10, 30, 60}
std::unordered_map<std::string, std::vector<unsigned>> m_readerEntries;
std::unordered_map<std::string, std::vector<unsigned>> m_readerEntries{};
std::unordered_map<std::string, unsigned> m_totalEntries{};

struct CollectionInfo {
Expand Down

0 comments on commit 0c3935b

Please sign in to comment.