Skip to content
Snippets Groups Projects
Commit 7aa730cd authored by Andreas Traczyk's avatar Andreas Traczyk
Browse files

fileutils: windows: fix compile error using std::filesystem::path

Change-Id: Ic0900204ec84527aa447ac579040b36aa51a1b6a
parent 40f98044
No related branches found
No related tags found
No related merge requests found
......@@ -357,7 +357,9 @@ readArchive(const std::filesystem::path& path, const std::string& pwd)
}
void
writeArchive(const std::string& archive_str, const std::filesystem::path& path, const std::string& password)
writeArchive(const std::string& archive_str,
const std::filesystem::path& path,
const std::string& password)
{
JAMI_LOG("Writing archive to {}", path);
......@@ -371,7 +373,7 @@ writeArchive(const std::string& archive_str, const std::filesystem::path& path,
}
} else {
JAMI_WARNING("Unsecured archiving (no password)");
archiver::compressGzip(archive_str, path);
archiver::compressGzip(archive_str, path.string());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment