nlsr: Don't use ndn aliases provided by ndn-cxx/common.hpp
refs: #3983
Change-Id: I31da8d68e0285dcfe9c7d3e5e678c00397d22bef
diff --git a/src/name-prefix-list.cpp b/src/name-prefix-list.cpp
index 188d5f3..37c66dc 100644
--- a/src/name-prefix-list.cpp
+++ b/src/name-prefix-list.cpp
@@ -53,8 +53,8 @@
{
std::list<ndn::Name>::iterator it = std::find_if(m_nameList.begin(),
m_nameList.end(),
- ndn::bind(&nameCompare, _1 ,
- ndn::cref(name)));
+ std::bind(&nameCompare, _1 ,
+ std::cref(name)));
if (it != m_nameList.end()) {
return false;
}
@@ -67,8 +67,8 @@
{
std::list<ndn::Name>::iterator it = std::find_if(m_nameList.begin(),
m_nameList.end(),
- ndn::bind(&nameCompare, _1 ,
- ndn::cref(name)));
+ std::bind(&nameCompare, _1 ,
+ std::cref(name)));
if (it != m_nameList.end()) {
m_nameList.erase(it);
return true;