Browse Source

Fix return value of system::removeRecursively().

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
a12296cca9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/system.cpp

+ 1
- 1
src/system.cpp View File

@@ -177,7 +177,7 @@ int removeRecursively(const std::string& path) {
return fs::remove_all(fs::u8path(path));
}
catch (fs::filesystem_error& e) {
return false;
return 0;
}
}



Loading…
Cancel
Save