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/y2016/vision/target_receiver.cc b/y2016/vision/target_receiver.cc
index 701f7e8..5aa854e 100644
--- a/y2016/vision/target_receiver.cc
+++ b/y2016/vision/target_receiver.cc
@@ -22,8 +22,7 @@
#include "y2016/vision/vision_data.pb.h"
#include "y2016/vision/vision_generated.h"
-namespace y2016 {
-namespace vision {
+namespace y2016::vision {
namespace chrono = ::std::chrono;
using ::aos::monotonic_clock;
@@ -428,8 +427,7 @@
}
}
-} // namespace vision
-} // namespace y2016
+} // namespace y2016::vision
int main(int argc, char **argv) {
::aos::InitGoogle(&argc, &argv);