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/y2021_bot3/constants.cc b/y2021_bot3/constants.cc
index facd1a0..63ebf7a 100644
--- a/y2021_bot3/constants.cc
+++ b/y2021_bot3/constants.cc
@@ -13,8 +13,7 @@
#include "aos/mutex/mutex.h"
#include "aos/network/team_number.h"
-namespace y2021_bot3 {
-namespace constants {
+namespace y2021_bot3::constants {
const int Values::kZeroingSampleSize;
@@ -80,5 +79,4 @@
return *values[team_number];
}
-} // namespace constants
-} // namespace y2021_bot3
+} // namespace y2021_bot3::constants