tools: replace boost::any usage with ndn::any
Change-Id: I7048a64b7c17353037ea9a64a11366d2fae6fd49
diff --git a/tools/nfdc/face-module.cpp b/tools/nfdc/face-module.cpp
index ae6ba16..7bde8bf 100644
--- a/tools/nfdc/face-module.cpp
+++ b/tools/nfdc/face-module.cpp
@@ -310,10 +310,8 @@
void
FaceModule::destroy(ExecuteContext& ctx)
{
- const boost::any& faceIdOrUri = ctx.args.at("face");
-
FindFace findFace(ctx);
- FindFace::Code res = findFace.execute(faceIdOrUri);
+ FindFace::Code res = findFace.execute(ctx.args.at("face"));
ctx.exitCode = static_cast<int>(res);
switch (res) {