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/y2017/joystick_reader.cc b/y2017/joystick_reader.cc
index 7cd2aaf..78f81c7 100644
--- a/y2017/joystick_reader.cc
+++ b/y2017/joystick_reader.cc
@@ -24,9 +24,7 @@
using ::frc971::input::driver_station::JoystickAxis;
using ::frc971::input::driver_station::POVLocation;
-namespace y2017 {
-namespace input {
-namespace joysticks {
+namespace y2017::input::joysticks {
namespace superstructure = control_loops::superstructure;
@@ -317,9 +315,7 @@
bool fire_ = false;
};
-} // namespace joysticks
-} // namespace input
-} // namespace y2017
+} // namespace y2017::input::joysticks
int main(int argc, char **argv) {
::aos::InitGoogle(&argc, &argv);