Migrate to C++17 and refactor
Change-Id: I53407266939258990a1c3a9363c3ebe9ea113fd2
diff --git a/src/detail/ca-configuration.hpp b/src/detail/ca-configuration.hpp
index 0a02777..5f39887 100644
--- a/src/detail/ca-configuration.hpp
+++ b/src/detail/ca-configuration.hpp
@@ -21,12 +21,11 @@
#ifndef NDNCERT_DETAIL_CA_CONFIGURATION_HPP
#define NDNCERT_DETAIL_CA_CONFIGURATION_HPP
+#include "ca-profile.hpp"
#include "name-assignment/assignment-func.hpp"
#include "redirection/redirection-policy.hpp"
-#include "ca-profile.hpp"
-namespace ndncert {
-namespace ca {
+namespace ndncert::ca {
/**
* @brief CA's configuration on NDNCERT.
@@ -74,7 +73,6 @@
std::vector<std::unique_ptr<NameAssignmentFunc>> nameAssignmentFuncs;
};
-} // namespace ca
-} // namespace ndncert
+} // namespace ndncert::ca
#endif // NDNCERT_DETAIL_CA_CONFIGURATION_HPP