From 5f11e9a7ce893580e8a9edb399acfc8a4996d582 Mon Sep 17 00:00:00 2001 From: Alexander Shaduri Date: Tue, 18 Jan 2022 16:31:13 +0400 Subject: [PATCH] Fixed building under Windows. --- src/applib/storage_detector_other.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applib/storage_detector_other.cpp b/src/applib/storage_detector_other.cpp index 674935a..f8d8a12 100644 --- a/src/applib/storage_detector_other.cpp +++ b/src/applib/storage_detector_other.cpp @@ -245,7 +245,7 @@ std::string detect_drives_other(std::vector& 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()); } }