tools: replace boost::any usage with ndn::any
Change-Id: I7048a64b7c17353037ea9a64a11366d2fae6fd49
diff --git a/tools/nfdc/rib-module.cpp b/tools/nfdc/rib-module.cpp
index 47acd0c..b41d33a 100644
--- a/tools/nfdc/rib-module.cpp
+++ b/tools/nfdc/rib-module.cpp
@@ -144,7 +144,7 @@
RibModule::add(ExecuteContext& ctx)
{
auto prefix = ctx.args.get<Name>("prefix");
- const boost::any& nexthop = ctx.args.at("nexthop");
+ auto nexthop = ctx.args.at("nexthop");
auto origin = ctx.args.get<RouteOrigin>("origin", ndn::nfd::ROUTE_ORIGIN_STATIC);
auto cost = ctx.args.get<uint64_t>("cost", 0);
bool wantChildInherit = !ctx.args.get<bool>("no-inherit", false);
@@ -212,7 +212,7 @@
RibModule::remove(ExecuteContext& ctx)
{
auto prefix = ctx.args.get<Name>("prefix");
- const boost::any& nexthop = ctx.args.at("nexthop");
+ auto nexthop = ctx.args.at("nexthop");
auto origin = ctx.args.get<RouteOrigin>("origin", ndn::nfd::ROUTE_ORIGIN_STATIC);
FindFace findFace(ctx);