Nest some more namespaces
Did someone previously suggest that all namespace had been
nested? Silly.
Signed-off-by: Stephan Pleines <pleines.stephan@gmail.com>
Change-Id: I22278c1caaeba8b47dc46fb2ed3078c20a11e190
diff --git a/y2022_bot3/actors/auto_splines.h b/y2022_bot3/actors/auto_splines.h
index c4c32fb..a655e2a 100644
--- a/y2022_bot3/actors/auto_splines.h
+++ b/y2022_bot3/actors/auto_splines.h
@@ -13,8 +13,7 @@
*/
-namespace y2022_bot3 {
-namespace actors {
+namespace y2022_bot3::actors {
class AutonomousSplines {
public:
@@ -36,7 +35,6 @@
aos::FlatbufferDetachedBuffer<frc971::MultiSpline> test_spline_;
};
-} // namespace actors
-} // namespace y2022_bot3
+} // namespace y2022_bot3::actors
#endif // Y2022_BOT3_ACTORS_AUTO_SPLINES_H_
diff --git a/y2022_bot3/actors/autonomous_actor.h b/y2022_bot3/actors/autonomous_actor.h
index 72262fb..a4eaa29 100644
--- a/y2022_bot3/actors/autonomous_actor.h
+++ b/y2022_bot3/actors/autonomous_actor.h
@@ -11,8 +11,7 @@
#include "y2022_bot3/control_loops/superstructure/superstructure_goal_generated.h"
#include "y2022_bot3/control_loops/superstructure/superstructure_status_generated.h"
-namespace y2022_bot3 {
-namespace actors {
+namespace y2022_bot3::actors {
using frc971::control_loops::StaticZeroingSingleDOFProfiledSubsystemGoal;
@@ -60,7 +59,6 @@
std::optional<Eigen::Vector3d> starting_position_;
};
-} // namespace actors
-} // namespace y2022_bot3
+} // namespace y2022_bot3::actors
#endif // Y2022_BOT3_ACTORS_AUTONOMOUS_ACTOR_H_