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/vision/ccm.cc b/y2023/vision/ccm.cc
index 7f35ae5..d32cc2f 100644
--- a/y2023/vision/ccm.cc
+++ b/y2023/vision/ccm.cc
@@ -8,8 +8,7 @@
#include "aos/init.h"
#include "aos/time/time.h"
-namespace y2023 {
-namespace vision {
+namespace y2023::vision {
namespace {
// Adapted from the opencv example code for color calibration.
@@ -73,8 +72,7 @@
}
} // namespace
-} // namespace vision
-} // namespace y2023
+} // namespace y2023::vision
int main(int argc, char **argv) {
aos::InitGoogle(&argc, &argv);