Skip to content

Commit

Permalink
fix bug not initializing BankHeader object
Browse files Browse the repository at this point in the history
  • Loading branch information
carltimmer committed Dec 20, 2024
1 parent 0007e28 commit 5ebb655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libsrc++/EvioReaderV4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,7 @@ namespace evio {

index--;

std::shared_ptr<BankHeader> header;
std::shared_ptr<BankHeader> header = std::make_shared<BankHeader>();
auto event = EvioEvent::getInstance(header);

uint32_t eventDataSizeBytes = 0;
Expand Down

0 comments on commit 5ebb655

Please sign in to comment.