tools: nfdc route remove command
refs #3866
Change-Id: Iffbcf3face8758a52d35a854408f9910f4ba6c0b
diff --git a/tools/nfdc/find-face.cpp b/tools/nfdc/find-face.cpp
index d877e81..5645e26 100644
--- a/tools/nfdc/find-face.cpp
+++ b/tools/nfdc/find-face.cpp
@@ -43,7 +43,7 @@
{
FaceQueryFilter filter;
filter.setRemoteUri(faceUri.toString());
- return this->execute(filter);
+ return this->execute(filter, allowMulti);
}
FindFace::Code
@@ -55,14 +55,14 @@
}
FindFace::Code
-FindFace::execute(const boost::any& faceIdOrUri)
+FindFace::execute(const boost::any& faceIdOrUri, bool allowMulti)
{
const uint64_t* faceId = boost::any_cast<uint64_t>(&faceIdOrUri);
if (faceId != nullptr) {
return this->execute(*faceId);
}
else {
- return this->execute(boost::any_cast<FaceUri>(faceIdOrUri));
+ return this->execute(boost::any_cast<FaceUri>(faceIdOrUri), allowMulti);
}
}