修改告警

Signed-off-by: litiangang4 <litiangang4@huawei.com>
This commit is contained in:
litiangang4
2023-08-02 16:20:11 +08:00
parent cc1181303d
commit 503c8747ec
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -424,7 +424,7 @@ void InputHub::ScanInputDevices(const std::string& dirName)
DHLOGI("ScanInputDevices enter, dirName %s.", dirName.c_str());
std::vector<std::string> vecInputDevPath;
ScanInputDevicesPath(dirName, vecInputDevPath);
for (auto &tempPath: vecInputDevPath) {
for (const auto &tempPath: vecInputDevPath) {
OpenInputDeviceLocked(tempPath);
}
}