Просмотр исходного кода

input_common/sdl/sdl_impl: Use nested namespace specifiers where applicable

Lioncash 7 лет назад
Родитель
Сommit
00f0827a26
1 измененных файлов с 2 добавлено и 5 удалено
  1. 2 5
      src/input_common/sdl/sdl_impl.cpp

+ 2 - 5
src/input_common/sdl/sdl_impl.cpp

@@ -23,9 +23,7 @@
 #include "core/frontend/input.h"
 #include "core/frontend/input.h"
 #include "input_common/sdl/sdl_impl.h"
 #include "input_common/sdl/sdl_impl.h"
 
 
-namespace InputCommon {
-
-namespace SDL {
+namespace InputCommon::SDL {
 
 
 static std::string GetGUID(SDL_Joystick* joystick) {
 static std::string GetGUID(SDL_Joystick* joystick) {
     SDL_JoystickGUID guid = SDL_JoystickGetGUID(joystick);
     SDL_JoystickGUID guid = SDL_JoystickGetGUID(joystick);
@@ -667,5 +665,4 @@ SDLState::Pollers SDLState::GetPollers(InputCommon::Polling::DeviceType type) {
     return pollers;
     return pollers;
 }
 }
 
 
-} // namespace SDL
-} // namespace InputCommon
+} // namespace InputCommon::SDL