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/wpilib_interface.cc b/y2016/wpilib_interface.cc
index 0e98085..3466b82 100644
--- a/y2016/wpilib_interface.cc
+++ b/y2016/wpilib_interface.cc
@@ -58,8 +58,7 @@
namespace shooter = ::y2016::control_loops::shooter;
namespace superstructure = ::y2016::control_loops::superstructure;
-namespace y2016 {
-namespace wpilib {
+namespace y2016::wpilib {
namespace {
constexpr double kMaxBringupPower = 12.0;
} // namespace
@@ -698,7 +697,6 @@
}
};
-} // namespace wpilib
-} // namespace y2016
+} // namespace y2016::wpilib
AOS_ROBOT_CLASS(::y2016::wpilib::WPILibRobot);