tools: fix compilation with latest ndn-cxx
Change-Id: Ifded624f3256452be98f288f9193dd26e464cd36
diff --git a/tools/nfdc/status-report.hpp b/tools/nfdc/status-report.hpp
index 1d0cb91..0fdd4bb 100644
--- a/tools/nfdc/status-report.hpp
+++ b/tools/nfdc/status-report.hpp
@@ -35,10 +35,6 @@
namespace nfd::tools::nfdc {
-using ndn::Face;
-using ndn::KeyChain;
-using ndn::security::Validator;
-
enum class ReportFormat {
XML = 1,
TEXT = 2,
@@ -66,26 +62,30 @@
* otherwise, error code from any failed section, plus 1000000 * section index
*/
uint32_t
- collect(Face& face, KeyChain& keyChain, Validator& validator, const CommandOptions& options);
+ collect(ndn::Face& face, ndn::KeyChain& keyChain, ndn::security::Validator& validator,
+ const CommandOptions& options);
- /** \brief Print an XML report.
- * \param os output stream
+ /**
+ * \brief Print an XML report.
+ * \param os output stream
*/
void
formatXml(std::ostream& os) const;
- /** \brief Print a text report.
- * \param os output stream
+ /**
+ * \brief Print a text report.
+ * \param os output stream
*/
void
formatText(std::ostream& os) const;
private:
NFD_VIRTUAL_WITH_TESTS void
- processEvents(Face& face);
+ processEvents(ndn::Face& face);
public:
- /** \brief Modules through which status is collected.
+ /**
+ * \brief Modules through which status is collected.
*/
std::vector<unique_ptr<Module>> sections;
};