summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2019-06-18 11:33:08 +0200
committerGitHub <noreply@github.com>2019-06-18 11:33:08 +0200
commitff96dc0e6ffd250b23ccb5ebceb12623da604435 (patch)
tree1a1279d6bff0945ae575c195ec357af239896d8f /Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
parentac562279c3a9fe9cc660b703ed0fd3f8ab2be758 (diff)
parent72b04a353ddfa79ec10fe447bef8eeaefc824976 (diff)
Merge pull request #8199 from lioncash/namespace
General: Use nested namespace specifiers where applicable
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
index b68c990490..24edc4386c 100644
--- a/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInputKeyboardMouse.cpp
@@ -17,9 +17,7 @@
// otherwise it is just some crazy value
#define DROP_INPUT_TIME 250
-namespace ciface
-{
-namespace DInput
+namespace ciface::DInput
{
static const struct
{
@@ -227,5 +225,4 @@ ControlState KeyboardMouse::Cursor::GetState() const
{
return m_axis / (m_positive ? 1.0 : -1.0);
}
-} // namespace DInput
-} // namespace ciface
+} // namespace ciface::DInput