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/table/strategy-info-host.hpp b/daemon/table/strategy-info-host.hpp
index dfe9341..361eaaf 100644
--- a/daemon/table/strategy-info-host.hpp
+++ b/daemon/table/strategy-info-host.hpp
@@ -91,7 +91,7 @@
{
shared_ptr<T> info = this->getStrategyInfo<T>();
if (!static_cast<bool>(info)) {
- info = make_shared<T>(boost::ref(a1));
+ info = make_shared<T>(ref(a1));
this->setStrategyInfo(info);
}
return info;