nlsr: Don't use ndn aliases provided by ndn-cxx/common.hpp
refs: #3983
Change-Id: I31da8d68e0285dcfe9c7d3e5e678c00397d22bef
diff --git a/src/adjacency-list.cpp b/src/adjacency-list.cpp
index 4b732a4..fd2fd46 100644
--- a/src/adjacency-list.cpp
+++ b/src/adjacency-list.cpp
@@ -235,8 +235,8 @@
{
std::list<Adjacent>::iterator it = std::find_if(m_adjList.begin(),
m_adjList.end(),
- ndn::bind(&Adjacent::compare,
- _1, ndn::cref(adjName)));
+ std::bind(&Adjacent::compare,
+ _1, std::cref(adjName)));
return it;
}
@@ -245,8 +245,8 @@
{
std::list<Adjacent>::iterator it = std::find_if(m_adjList.begin(),
m_adjList.end(),
- ndn::bind(&Adjacent::compare,
- _1, ndn::cref(adjName)));
+ std::bind(&Adjacent::compare,
+ _1, std::cref(adjName)));
if (it != m_adjList.end()) {
return &(*it);
}
@@ -259,7 +259,7 @@
{
std::list<Adjacent>::iterator it = std::find_if(m_adjList.begin(),
m_adjList.end(),
- ndn::bind(&Adjacent::compareFaceId,
+ std::bind(&Adjacent::compareFaceId,
_1, faceId));
if (it != m_adjList.end()) {
return &(*it);
@@ -273,7 +273,7 @@
{
std::list<Adjacent>::iterator it = std::find_if(m_adjList.begin(),
m_adjList.end(),
- ndn::bind(&Adjacent::compareFaceUri,
+ std::bind(&Adjacent::compareFaceUri,
_1, faceUri));
if (it != m_adjList.end()) {
return it->getFaceId();