Fixed building under Windows.

This commit is contained in:
Alexander Shaduri
2022-01-18 16:31:13 +04:00
parent f128de2b30
commit 5f11e9a7ce
+1 -1
View File
@@ -245,7 +245,7 @@ std::string detect_drives_other(std::vector<StorageDevicePtr>& drives,
} else { // not *BSD
for (const auto& dev : matched_devices) {
debug_out_info("app", DBG_FUNC_MSG << "Device \"" << dev << "\" matched the whitelist, adding to device list.\n");
devices.push_back(dev);
devices.push_back(dev.string());
}
}