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/y2024_defense/wpilib_interface.cc b/y2024_defense/wpilib_interface.cc
index d599813..1584dbd 100644
--- a/y2024_defense/wpilib_interface.cc
+++ b/y2024_defense/wpilib_interface.cc
@@ -74,8 +74,7 @@
using std::make_unique;
-namespace y2024_defense {
-namespace wpilib {
+namespace y2024_defense::wpilib {
namespace {
constexpr double kMaxBringupPower = 12.0;
@@ -361,7 +360,6 @@
}
};
-} // namespace wpilib
-} // namespace y2024_defense
+} // namespace y2024_defense::wpilib
AOS_ROBOT_CLASS(::y2024_defense::wpilib::WPILibRobot);