Fix namespace nesting in y2024
Signed-off-by: Maxwell Henderson <mxwhenderson@gmail.com>
Change-Id: If886abc4cfe72cb3ea768aaf9d924f0e8c76f02b
diff --git a/y2024/autonomous/auto_splines.h b/y2024/autonomous/auto_splines.h
index efdfb33..309222f 100644
--- a/y2024/autonomous/auto_splines.h
+++ b/y2024/autonomous/auto_splines.h
@@ -13,8 +13,7 @@
*/
-namespace y2024 {
-namespace autonomous {
+namespace y2024::autonomous {
class AutonomousSplines {
public:
@@ -39,7 +38,6 @@
aos::FlatbufferDetachedBuffer<frc971::MultiSpline> test_spline_;
};
-} // namespace autonomous
-} // namespace y2024
+} // namespace y2024::autonomous
#endif // Y2024_AUTONOMOUS_AUTO_SPLINES_H_
diff --git a/y2024/autonomous/autonomous_actor.h b/y2024/autonomous/autonomous_actor.h
index 6603080..c3d7d79 100644
--- a/y2024/autonomous/autonomous_actor.h
+++ b/y2024/autonomous/autonomous_actor.h
@@ -11,8 +11,7 @@
#include "y2024/control_loops/superstructure/superstructure_goal_generated.h"
#include "y2024/control_loops/superstructure/superstructure_status_generated.h"
-namespace y2024 {
-namespace autonomous {
+namespace y2024::autonomous {
class AutonomousActor : public ::frc971::autonomous::BaseAutonomousActor {
public:
@@ -60,7 +59,6 @@
const ::std::vector<::Eigen::Matrix<double, 3, 1>> points_;
};
-} // namespace autonomous
-} // namespace y2024
+} // namespace y2024::autonomous
#endif // Y2024_AUTONOMOUS_AUTONOMOUS_ACTOR_H_