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/tools/nfd-autoreg.cpp b/tools/nfd-autoreg.cpp
index 40ea488..3d8dc98 100644
--- a/tools/nfd-autoreg.cpp
+++ b/tools/nfd-autoreg.cpp
@@ -230,7 +230,7 @@
bind(&AutoregServer::onTimeout, this, _1));
boost::asio::signal_set signalSet(*m_face.ioService(), SIGINT, SIGTERM);
- signalSet.async_wait(boost::bind(&AutoregServer::signalHandler, this));
+ signalSet.async_wait(bind(&AutoregServer::signalHandler, this));
m_face.processEvents();
}