Przeglądaj źródła

On permission errors, also fallback from move to copy

default_compile_flags
vector-of-bool 6 lat temu
rodzic
commit
9bb6c72378
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/dds/util/fs.cpp

+ 1
- 1
src/dds/util/fs.cpp Wyświetl plik

return; return;
} }


if (ec != std::errc::cross_device_link) {
if (ec != std::errc::cross_device_link && ec != std::errc::permission_denied) {
throw std::system_error(ec, throw std::system_error(ec,
fmt::format("Failed to move item [{}] to [{}]", fmt::format("Failed to move item [{}] to [{}]",
source.string(), source.string(),

Ładowanie…
Anuluj
Zapisz