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/y2019/vision/debug_viewer.cc b/y2019/vision/debug_viewer.cc
index b2ad1be..1a93f87 100644
--- a/y2019/vision/debug_viewer.cc
+++ b/y2019/vision/debug_viewer.cc
@@ -21,8 +21,7 @@
DEFINE_int32(camera, 10, "The camera to use the intrinsics for");
-namespace y2019 {
-namespace vision {
+namespace y2019::vision {
std::vector<PixelRef> GetNColors(size_t num_colors) {
std::vector<PixelRef> colors;
@@ -358,8 +357,7 @@
bool draw_results_ = true;
};
-} // namespace vision
-} // namespace y2019
+} // namespace y2019::vision
int main(int argc, char **argv) {
::gflags::ParseCommandLineFlags(&argc, &argv, true);