From 937225b6f28622e1e31be16e0c8b4e76cc79d903 Mon Sep 17 00:00:00 2001 From: pixl Date: Mon, 13 Jul 2020 22:44:22 -0400 Subject: [PATCH] TODO cleanup: Remove error check todo in DeviceManager --- src/logid/DeviceManager.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/logid/DeviceManager.cpp b/src/logid/DeviceManager.cpp index da05400..98a678a 100644 --- a/src/logid/DeviceManager.cpp +++ b/src/logid/DeviceManager.cpp @@ -58,8 +58,7 @@ void DeviceManager::addDevice(std::string path) receiver->run(); _receivers.emplace(path, receiver); } else { - /* TODO: Error check? - * TODO: Can non-receivers only contain 1 device? + /* TODO: Can non-receivers only contain 1 device? * If the device exists, it is guaranteed to be an HID++ 2.0 device */ if(defaultExists) { auto device = std::make_shared(path, hidpp::DefaultDevice);