Skip to content

Commit

Permalink
[ntuple] fix compiler warning in streamer test
Browse files Browse the repository at this point in the history
  • Loading branch information
jblomer committed Nov 27, 2024
1 parent f188ba4 commit 9935cd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree/ntuple/v7/test/rfield_streamer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ TEST(RField, StreamerMerge)
auto streamerInfoMap = RNTupleSerializer::DeserializeStreamerInfos(typeInfo.GetContent()).Unwrap();
EXPECT_EQ(4u, streamerInfoMap.size());
std::array<bool, 4> seenStreamerInfos{false, false, false, false};
for (const auto [_, streamerInfo] : streamerInfoMap) {
for (const auto &[_, streamerInfo] : streamerInfoMap) {
if (strcmp(streamerInfo->GetName(), "PolyContainer") == 0)
seenStreamerInfos[0] = true;
else if (strcmp(streamerInfo->GetName(), "PolyBase") == 0)
Expand Down

0 comments on commit 9935cd5

Please sign in to comment.