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/motors/print/uart.cc b/motors/print/uart.cc
index 4cfb001..f125789 100644
--- a/motors/print/uart.cc
+++ b/motors/print/uart.cc
@@ -4,8 +4,7 @@
#include "motors/core/kinetis.h"
-namespace frc971 {
-namespace motors {
+namespace frc971::motors {
namespace {
::std::atomic<teensy::InterruptBufferedUart *> global_stdout{nullptr};
@@ -65,5 +64,4 @@
return len;
}
-} // namespace motors
-} // namespace frc971
+} // namespace frc971::motors