table: capacity limit in PIT NonceList
refs #1770
Change-Id: Ia5722968cca1d9a4bbf3ef19e57be73eac702a69
diff --git a/daemon/table/pit-entry.hpp b/daemon/table/pit-entry.hpp
index fb89e27..420bb29 100644
--- a/daemon/table/pit-entry.hpp
+++ b/daemon/table/pit-entry.hpp
@@ -26,6 +26,7 @@
#ifndef NFD_DAEMON_TABLE_PIT_ENTRY_HPP
#define NFD_DAEMON_TABLE_PIT_ENTRY_HPP
+#include "pit-nonce-list.hpp"
#include "pit-in-record.hpp"
#include "pit-out-record.hpp"
#include "core/scheduler.hpp"
@@ -155,7 +156,7 @@
EventId m_stragglerTimer;
private:
- std::set<uint32_t> m_nonces;
+ pit::NonceList m_nonceList;
shared_ptr<const Interest> m_interest;
InRecordCollection m_inRecords;
OutRecordCollection m_outRecords;