summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-08-04 10:58:24 +0200
committerTillmann Karras <tilkax@gmail.com>2015-08-04 10:58:24 +0200
commit5a05187b3be39a590ad43a7943088d5d5a082569 (patch)
tree6a9994bd19999d50a8ec08bbde1deed6a5218b33 /Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
parent8d72145c4454cf3e86ff11f0ee9e9f3ca1a63d45 (diff)
Fix some warnings
reorder, sign-compare, pessimizing-move
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
index e7a0ae2525..9e62a02378 100644
--- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
@@ -28,7 +28,7 @@ static std::string GetName(const std::string& devnode)
std::string res = libevdev_get_name(dev);
libevdev_free(dev);
close(fd);
- return std::move(res);
+ return res;
}
void Init(std::vector<Core::Device*> &controllerDevices)