mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-09-26 05:45:35 +00:00
Fix win32 compilation.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user