瀏覽代碼

On permission errors, also fallback from move to copy

default_compile_flags
vector-of-bool 5 年之前
父節點
當前提交
9bb6c72378
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/dds/util/fs.cpp

+ 1
- 1
src/dds/util/fs.cpp 查看文件

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(),

Loading…
取消
儲存