Reduce namespace nesting (ndn::ndncert -> ndncert)
Change-Id: I5b69a2c3673cccdf07ea0ba3a0e7181894328f47
diff --git a/src/detail/ca-configuration.cpp b/src/detail/ca-configuration.cpp
index 813c428..a6d26a0 100644
--- a/src/detail/ca-configuration.cpp
+++ b/src/detail/ca-configuration.cpp
@@ -25,7 +25,6 @@
#include <boost/filesystem.hpp>
#include <boost/property_tree/json_parser.hpp>
-namespace ndn {
namespace ndncert {
namespace ca {
@@ -57,7 +56,7 @@
NDN_THROW(std::runtime_error("Redirect-to item's ca-prefix or certificate cannot be empty."));
}
std::istringstream ss(caCertStr);
- auto caCert = io::load<security::Certificate>(ss);
+ auto caCert = ndn::io::load<Certificate>(ss);
redirection.push_back(caCert);
}
}
@@ -77,4 +76,3 @@
} // namespace ca
} // namespace ndncert
-} // namespace ndn