diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-06-17 16:39:24 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-06-17 16:51:41 -0400 |
| commit | ec60027f56bde17ef32a80b9f002225542c5859a (patch) | |
| tree | 3ef54d831d8690467348db2ad69f50868ed0e3fe /Source/Core/InputCommon/ControllerInterface/Android | |
| parent | 8e030a4a456cc74289cbed89ee8bbca60c9acc34 (diff) | |
InputCommon: Use nested namespace specifiers where applicable
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Android')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Android/Android.cpp | 7 | ||||
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Android/Android.h | 8 |
2 files changed, 5 insertions, 10 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp b/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp index 9ab4cbf0f8..910b7553c9 100644 --- a/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Android/Android.cpp @@ -8,9 +8,7 @@ #include <thread> #include "InputCommon/ControllerInterface/ControllerInterface.h" -namespace ciface -{ -namespace Android +namespace ciface::Android { void PopulateDevices() { @@ -240,5 +238,4 @@ void Touchscreen::Motor::Rumble(int padID, double state) JNIEnv* env = IDCache::GetEnvForThread(); env->CallStaticVoidMethod(IDCache::GetNativeLibraryClass(), IDCache::GetDoRumble(), padID, state); } -} // namespace Android -} // namespace ciface +} // namespace ciface::Android diff --git a/Source/Core/InputCommon/ControllerInterface/Android/Android.h b/Source/Core/InputCommon/ControllerInterface/Android/Android.h index b917222864..82a1a47954 100644 --- a/Source/Core/InputCommon/ControllerInterface/Android/Android.h +++ b/Source/Core/InputCommon/ControllerInterface/Android/Android.h @@ -7,11 +7,10 @@ #include "InputCommon/ControllerInterface/ControllerInterface.h" #include "jni/ButtonManager.h" -namespace ciface -{ -namespace Android +namespace ciface::Android { void PopulateDevices(); + class Touchscreen : public Core::Device { private: @@ -65,5 +64,4 @@ public: private: const int _padID; }; -} // namespace Android -} // namespace ciface +} // namespace ciface::Android |
