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/aos/util/trapezoid_profile.h b/aos/util/trapezoid_profile.h
index 944c423..6669777 100644
--- a/aos/util/trapezoid_profile.h
+++ b/aos/util/trapezoid_profile.h
@@ -6,8 +6,7 @@
#include "aos/macros.h"
#include "aos/time/time.h"
-namespace aos {
-namespace util {
+namespace aos::util {
// Calculates a trapezoidal motion profile (like for a control loop's goals).
// Supports having the end speed and position changed in the middle.
@@ -63,7 +62,6 @@
DISALLOW_COPY_AND_ASSIGN(TrapezoidProfile);
};
-} // namespace util
-} // namespace aos
+} // namespace aos::util
#endif // AOS_UTIL_TRAPEZOID_PROFILE_H_