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/y2023_bot3/constants.cc b/y2023_bot3/constants.cc
index 7f77d4d..be9ddbf 100644
--- a/y2023_bot3/constants.cc
+++ b/y2023_bot3/constants.cc
@@ -13,8 +13,7 @@
#include "aos/mutex/mutex.h"
#include "aos/network/team_number.h"
-namespace y2023_bot3 {
-namespace constants {
+namespace y2023_bot3::constants {
Values MakeValues(uint16_t team) {
LOG(INFO) << "creating a Constants for team: " << team;
@@ -38,5 +37,4 @@
Values MakeValues() { return MakeValues(aos::network::GetTeamNumber()); }
-} // namespace constants
-} // namespace y2023_bot3
+} // namespace y2023_bot3::constants