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/y2014/wpilib_interface.cc b/y2014/wpilib_interface.cc
index b27e381..016b17a 100644
--- a/y2014/wpilib_interface.cc
+++ b/y2014/wpilib_interface.cc
@@ -55,8 +55,7 @@
namespace shooter = ::y2014::control_loops::shooter;
using std::make_unique;
-namespace y2014 {
-namespace wpilib {
+namespace y2014::wpilib {
// TODO(Brian): Fix the interpretation of the result of GetRaw here and in the
// DMA stuff and then removing the * 2.0 in *_translate.
@@ -769,7 +768,6 @@
}
};
-} // namespace wpilib
-} // namespace y2014
+} // namespace y2014::wpilib
AOS_ROBOT_CLASS(::y2014::wpilib::WPILibRobot);