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/motors/usb/hid.cc b/motors/usb/hid.cc
index f42842b..5efa431 100644
--- a/motors/usb/hid.cc
+++ b/motors/usb/hid.cc
@@ -1,7 +1,6 @@
#include "motors/usb/hid.h"
-namespace frc971 {
-namespace teensy {
+namespace frc971::teensy {
namespace {
constexpr uint8_t hid_class() { return 0x03; }
@@ -210,5 +209,4 @@
}
}
-} // namespace teensy
-} // namespace frc971
+} // namespace frc971::teensy