mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-24 20:52:08 +08:00
pandad: removed the redundant .c_str() call (#32724)
Removed the redundant .c_str() call
old-commit-hash: 8065b454c9
This commit is contained in:
@@ -120,7 +120,7 @@ std::vector<std::string> PandaUsbHandle::list() {
|
||||
libusb_close(handle);
|
||||
if (ret < 0) { goto finish; }
|
||||
|
||||
serials.push_back(std::string((char *)desc_serial, ret).c_str());
|
||||
serials.push_back(std::string((char *)desc_serial, ret));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user