Refactor and modernize namespace declarations
Move all unit tests to namespace nfd::tests
Delete unused header core/algorithm.hpp
Change-Id: I5591f0c5f3bb5db67f8b45fae95471f8a555ca68
diff --git a/daemon/table/cs-policy-lru.cpp b/daemon/table/cs-policy-lru.cpp
index 1b477aa..80b5994 100644
--- a/daemon/table/cs-policy-lru.cpp
+++ b/daemon/table/cs-policy-lru.cpp
@@ -26,9 +26,7 @@
#include "cs-policy-lru.hpp"
#include "cs.hpp"
-namespace nfd {
-namespace cs {
-namespace lru {
+namespace nfd::cs::lru {
const std::string LruPolicy::POLICY_NAME = "lru";
NFD_REGISTER_CS_POLICY(LruPolicy);
@@ -87,6 +85,4 @@
}
}
-} // namespace lru
-} // namespace cs
-} // namespace nfd
+} // namespace nfd::cs::lru