Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/NegativeAcksTracker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ void NegativeAcksTracker::handleTimer(const ASIO_ERROR &ec) {
break;
}

auto ledgerMap = it->second;
const auto &ledgerMap = it->second;
for (auto ledgerIt = ledgerMap.begin(); ledgerIt != ledgerMap.end(); ++ledgerIt) {
auto entrySet = ledgerIt->second;
const auto &entrySet = ledgerIt->second;
for (auto setIt = entrySet.begin(); setIt != entrySet.end(); ++setIt) {
messagesToRedeliver.insert(
MessageIdBuilder().ledgerId(ledgerIt->first).entryId(*setIt).build());
Expand Down