diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp | 7 | ||||
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/evdev/evdev.h | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp index da1e5fc918..4443eaad3a 100644 --- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp +++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp @@ -23,9 +23,7 @@ #include "InputCommon/ControllerInterface/ControllerInterface.h" #include "InputCommon/ControllerInterface/evdev/evdev.h" -namespace ciface -{ -namespace evdev +namespace ciface::evdev { static std::thread s_hotplug_thread; static Common::Flag s_hotplug_thread_running; @@ -499,5 +497,4 @@ evdevDevice::Effect::~Effect() m_effect.type = DISABLED_EFFECT_TYPE; UpdateEffect(); } -} // namespace evdev -} // namespace ciface +} // namespace ciface::evdev diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h index 4b6d0bc0b2..9f2996b420 100644 --- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h +++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h @@ -10,9 +10,7 @@ #include "InputCommon/ControllerInterface/ControllerInterface.h" -namespace ciface -{ -namespace evdev +namespace ciface::evdev { void Init(); void PopulateDevices(); @@ -120,5 +118,4 @@ private: std::string m_name; bool m_interesting = false; }; -} // namespace evdev -} // namespace ciface +} // namespace ciface::evdev |
