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/pit-face-record.cpp b/daemon/table/pit-face-record.cpp
index 4674b8e..c0f43bc 100644
--- a/daemon/table/pit-face-record.cpp
+++ b/daemon/table/pit-face-record.cpp
@@ -25,8 +25,7 @@
#include "pit-face-record.hpp"
-namespace nfd {
-namespace pit {
+namespace nfd::pit {
// Impose a maximum lifetime to prevent integer overflow when calculating m_expiry.
const time::milliseconds MAX_LIFETIME = 10_days;
@@ -42,5 +41,4 @@
m_expiry = m_lastRenewed + lifetime;
}
-} // namespace pit
-} // namespace nfd
+} // namespace nfd::pit