summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2017-12-26 00:38:44 +0100
committerLéo Lam <leo@innovatetechnologi.es>2019-05-04 23:12:17 +0200
commitab9ece9bcab8a6d55dbe6f3a904d49231e5f73e1 (patch)
tree3993f73a513f6f80ecddff85882042b73da261da /Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
parent6f84984b7b0514227327b2e2c5ef10907d150b96 (diff)
Replace MathUtil::Clamp with std::clamp
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
index f84f3b01c6..da1e5fc918 100644
--- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
@@ -2,6 +2,7 @@
// Licensed under GPLv2+
// Refer to the license.txt file included.
+#include <algorithm>
#include <cstring>
#include <fcntl.h>
#include <libudev.h>