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/Device.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/Device.cpp') 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& device // No input was detected. :'( return {}; } - -} // namespace Core -} // namespace ciface +} // namespace ciface::Core -- cgit v1.2.3