diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2019-06-18 11:33:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-18 11:33:08 +0200 |
| commit | ff96dc0e6ffd250b23ccb5ebceb12623da604435 (patch) | |
| tree | 1a1279d6bff0945ae575c195ec357af239896d8f /Source/Core/InputCommon/ControllerInterface/Device.cpp | |
| parent | ac562279c3a9fe9cc660b703ed0fd3f8ab2be758 (diff) | |
| parent | 72b04a353ddfa79ec10fe447bef8eeaefc824976 (diff) | |
Merge pull request #8199 from lioncash/namespace
General: Use nested namespace specifiers where applicable
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Device.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/Device.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Device.cpp b/Source/Core/InputCommon/ControllerInterface/Device.cpp index 954d933ad8..5b0fa7ebd1 100644 --- a/Source/Core/InputCommon/ControllerInterface/Device.cpp +++ b/Source/Core/InputCommon/ControllerInterface/Device.cpp @@ -14,9 +14,7 @@ #include "Common/StringUtil.h" #include "Common/Thread.h" -namespace ciface -{ -namespace Core +namespace ciface::Core { // Compared to an input's current state (ideally 1.0) minus abs(initial_state) (ideally 0.0). constexpr ControlState INPUT_DETECT_THRESHOLD = 0.55; @@ -326,6 +324,4 @@ DeviceContainer::DetectInput(u32 wait_ms, const std::vector<std::string>& device // No input was detected. :'( return {}; } - -} // namespace Core -} // namespace ciface +} // namespace ciface::Core |
