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/SDL/SDL.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp index a26deee6e8..2d2d256c2a 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp @@ -19,9 +19,7 @@ #pragma comment(lib, "SDL2.lib") #endif -namespace ciface -{ -namespace SDL +namespace ciface::SDL { static std::string GetJoystickName(int index) { @@ -491,5 +489,4 @@ ControlState Joystick::Hat::GetState() const { return (SDL_JoystickGetHat(m_js, m_index) & (1 << m_direction)) > 0; } -} // namespace SDL -} // namespace ciface +} // namespace ciface::SDL -- cgit v1.2.3