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/semihosting.cc b/motors/print/semihosting.cc
index a266ad6..310bb49 100644
--- a/motors/print/semihosting.cc
+++ b/motors/print/semihosting.cc
@@ -4,8 +4,7 @@
#include "motors/core/semihosting.h"
-namespace frc971 {
-namespace motors {
+namespace frc971::motors {
::std::unique_ptr<PrintingImplementation> CreatePrinting(
const PrintingParameters & /*parameters*/) {
@@ -23,5 +22,4 @@
return buffer.size() - operation.Execute();
}
-} // namespace motors
-} // namespace frc971
+} // namespace frc971::motors