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/XInput/XInput.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp index d6ecdb9d81..cda20a08db 100644 --- a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp +++ b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp @@ -8,9 +8,7 @@ #define XINPUT_GAMEPAD_GUIDE 0x0400 #endif -namespace ciface -{ -namespace XInput +namespace ciface::XInput { static const struct { @@ -243,5 +241,4 @@ void Device::Motor::SetState(ControlState state) m_motor = (WORD)(state * m_range); m_parent->UpdateMotors(); } -} // namespace XInput -} // namespace ciface +} // namespace ciface::XInput -- cgit v1.2.3