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/frc971/orin/points.cc b/frc971/orin/points.cc
index dbf5496..7dc36f2 100644
--- a/frc971/orin/points.cc
+++ b/frc971/orin/points.cc
@@ -3,8 +3,7 @@
#include <iomanip>
#include <ostream>
-namespace frc971 {
-namespace apriltag {
+namespace frc971::apriltag {
std::ostream &operator<<(std::ostream &os, const QuadBoundaryPoint &point) {
std::ios_base::fmtflags original_flags = os.flags();
@@ -31,5 +30,4 @@
static_assert(sizeof(IndexPoint) == 8, "IndexPoint didn't pack right.");
-} // namespace apriltag
-} // namespace frc971
+} // namespace frc971::apriltag