From ec60027f56bde17ef32a80b9f002225542c5859a Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 17 Jun 2019 16:39:24 -0400 Subject: InputCommon: Use nested namespace specifiers where applicable --- Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp | 7 ++----- Source/Core/InputCommon/ControllerInterface/evdev/evdev.h | 7 ++----- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/evdev') 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 -- cgit v1.2.3