aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/sdl/sdl_impl.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-06-03 15:49:04 -0400
committerLioncash <mathew1800@gmail.com>2019-06-03 15:49:04 -0400
commit00f0827a26f5dc13ff90920975fe0cf749b06bb3 (patch)
tree32d52cbc53381ba799fc6c9dd3da6f5b10ccbb17 /src/input_common/sdl/sdl_impl.cpp
parente70f16fff793e1f3145a9ad2f4d9a704c6218144 (diff)
input_common/sdl/sdl_impl: Use nested namespace specifiers where applicable
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
-rw-r--r--src/input_common/sdl/sdl_impl.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/input_common/sdl/sdl_impl.cpp b/src/input_common/sdl/sdl_impl.cpp
index 0b69bfede5..5b849283ae 100644
--- a/src/input_common/sdl/sdl_impl.cpp
+++ b/src/input_common/sdl/sdl_impl.cpp
@@ -23,9 +23,7 @@
#include "core/frontend/input.h"
#include "input_common/sdl/sdl_impl.h"
-namespace InputCommon {
-
-namespace SDL {
+namespace InputCommon::SDL {
static std::string GetGUID(SDL_Joystick* joystick) {
SDL_JoystickGUID guid = SDL_JoystickGetGUID(joystick);
@@ -667,5 +665,4 @@ SDLState::Pollers SDLState::GetPollers(InputCommon::Polling::DeviceType type) {
return pollers;
}
-} // namespace SDL
-} // namespace InputCommon
+} // namespace InputCommon::SDL