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/util/file.cc b/aos/util/file.cc
index 973ab3c..ef958c6 100644
--- a/aos/util/file.cc
+++ b/aos/util/file.cc
@@ -15,8 +15,7 @@
#include "aos/scoped/scoped_fd.h"
-namespace aos {
-namespace util {
+namespace aos::util {
std::string ReadFileToStringOrDie(const std::string_view filename) {
std::optional<std::string> r = MaybeReadFileToString(filename);
@@ -283,5 +282,4 @@
<< ": Failed to write " << bytes.size() << " bytes.";
}
-} // namespace util
-} // namespace aos
+} // namespace aos::util