nlsr: remove writeLog in NamePrefixList
Change-Id: Id54152684d1aa366b5eec8eeb79c046dedf6da7c refs: #4131
This commit is contained in:
1 parent
56d1fae10a
commit
494de4033d
3 files changed
+1
-16
No files matched your search
@@ -89,18 +89,6 @@ NamePrefixList::sort()
|
||||
m_nameList.sort();
|
||||
}
|
||||
|
||||
void
|
||||
NamePrefixList::writeLog()
|
||||
{
|
||||
_LOG_DEBUG("-------Name Prefix List--------");
|
||||
int i = 1;
|
||||
for (std::list<ndn::Name>::iterator it = m_nameList.begin();
|
||||
it != m_nameList.end(); it++) {
|
||||
_LOG_DEBUG("Name " << i << " : " << (*it));
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
std::ostream&
|
||||
operator<<(std::ostream& os, const NamePrefixList& list) {
|
||||
os << "Name prefix list: {\n";
|
||||
|
||||
@@ -75,9 +75,6 @@ public:
|
||||
bool
|
||||
operator==(const NamePrefixList& other) const;
|
||||
|
||||
void
|
||||
writeLog();
|
||||
|
||||
private:
|
||||
std::list<ndn::Name> m_nameList;
|
||||
|
||||
|
||||
+1
-1
@@ -237,7 +237,7 @@ Nlsr::initialize()
|
||||
// Logging start
|
||||
m_confParam.writeLog();
|
||||
m_adjacencyList.writeLog();
|
||||
m_namePrefixList.writeLog();
|
||||
_LOG_DEBUG(m_namePrefixList);
|
||||
// Logging end
|
||||
initializeKey();
|
||||
setStrategies();
|
||||
|
||||
Reference in new issue
Block a user