Fix some warnings

reorder, sign-compare, pessimizing-move
This commit is contained in:
Tillmann Karras
2015-08-04 10:58:24 +02:00
parent 8d72145c44
commit 5a05187b3b
4 changed files with 5 additions and 6 deletions

View File

@ -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)