Nest all namespaces
The compiler supports this now. We can type less going forward.
No functional changes.
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I29d6fa4f9aacc0e381f1a7637294db0392466995
diff --git a/aos/libc/dirname.cc b/aos/libc/dirname.cc
index bc34496..e73030c 100644
--- a/aos/libc/dirname.cc
+++ b/aos/libc/dirname.cc
@@ -1,7 +1,6 @@
#include "aos/libc/dirname.h"
-namespace aos {
-namespace libc {
+namespace aos::libc {
namespace {
::std::string DoDirname(const ::std::string &path, size_t last_slash) {
@@ -35,5 +34,4 @@
return DoDirname(path, last_slash);
}
-} // namespace libc
-} // namespace aos
+} // namespace aos::libc