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/motors/algorithms.h b/motors/algorithms.h
index 20dcbe8..95fa772 100644
--- a/motors/algorithms.h
+++ b/motors/algorithms.h
@@ -5,8 +5,7 @@
#include <array>
-namespace frc971 {
-namespace motors {
+namespace frc971::motors {
struct ReadingsToBalance {
// Adds a single reading at index.
@@ -57,7 +56,6 @@
return r;
}
-} // namespace motors
-} // namespace frc971
+} // namespace frc971::motors
#endif // MOTORS_ALGORITHMS_H_