Fix win32 compilation.

This commit is contained in:
Alexander Shaduri
2024-04-22 22:05:36 +04:00
parent c065e55ca1
commit 9ea48c7298
+1 -1
View File
@@ -498,7 +498,7 @@ inline bool fs_path_is_writable(const fs::path& path, std::error_code& ec)
std::error_code ignored_ec; // ignore this error
const bool is_directory = fs::is_directory(path, ignored_ec);
const bool path_exists = fs::exists(path, ec);
bool path_exists = fs::exists(path, ec);
if (ec) {
return false;
}