src: Remove unnecessary uses of boost::cref in make_shared and replace boost::cref/boost::ref with just cref/ref
In some cases, due to argument-dependent lookup, it is necessary to use
ndn::ref, instead of just ref.
Change-Id: I682180a007609535855f77511b49622154ad4f11
Refs: #1591
diff --git a/daemon/face/face.cpp b/daemon/face/face.cpp
index 46dbcf6..75600b4 100644
--- a/daemon/face/face.cpp
+++ b/daemon/face/face.cpp
@@ -40,10 +40,10 @@
, m_localUri(localUri)
, m_isOnDemand(false)
{
- onReceiveInterest += bind(&increaseCounter, boost::ref(m_counters.getNInInterests()));
- onReceiveData += bind(&increaseCounter, boost::ref(m_counters.getNInDatas()));
- onSendInterest += bind(&increaseCounter, boost::ref(m_counters.getNOutInterests()));
- onSendData += bind(&increaseCounter, boost::ref(m_counters.getNOutDatas()));
+ onReceiveInterest += bind(&increaseCounter, ref(m_counters.getNInInterests()));
+ onReceiveData += bind(&increaseCounter, ref(m_counters.getNInDatas()));
+ onSendInterest += bind(&increaseCounter, ref(m_counters.getNOutInterests()));
+ onSendData += bind(&increaseCounter, ref(m_counters.getNOutDatas()));
}
Face::~Face()