fw: hasPendingOutRecords considers Nack
refs #3545 Change-Id: I986187f58e60090518df2a55a8bd9c1f05771b03
This commit is contained in:
1 parent
df846e5904
commit
8744c97a4d
3 files changed
+37
-5
No files matched your search
@@ -115,7 +115,10 @@ hasPendingOutRecords(const pit::Entry& pitEntry)
|
||||
{
|
||||
time::steady_clock::TimePoint now = time::steady_clock::now();
|
||||
return std::any_of(pitEntry.out_begin(), pitEntry.out_end(),
|
||||
[&now] (const pit::OutRecord& outRecord) { return outRecord.getExpiry() >= now; });
|
||||
[&now] (const pit::OutRecord& outRecord) {
|
||||
return outRecord.getExpiry() >= now &&
|
||||
outRecord.getIncomingNack() == nullptr;
|
||||
});
|
||||
}
|
||||
|
||||
} // namespace fw
|
||||
|
||||
Reference in new issue
Block a user