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/testing/tmpdir.cc b/aos/testing/tmpdir.cc
index 7287603..0953a21 100644
--- a/aos/testing/tmpdir.cc
+++ b/aos/testing/tmpdir.cc
@@ -5,8 +5,7 @@
#include "aos/ipc_lib/shm_base.h"
-namespace aos {
-namespace testing {
+namespace aos::testing {
namespace {
std::string TestTmpDirOr(std::string fallback) {
@@ -22,5 +21,4 @@
void SetTestShmBase() { SetShmBase(TestTmpDirOr(FLAGS_shm_base)); }
-} // namespace testing
-} // namespace aos
+} // namespace aos::testing