Browse Source

fs_find_mount_point.cpp

inodecalc
Antonio SJ Musumeci 3 weeks ago
parent
commit
87bd299a36
  1. 2
      src/fs_find_mount_point.cpp

2
src/fs_find_mount_point.cpp

@ -22,7 +22,7 @@ fs::find_mount_point(const ghc::filesystem::path &path_)
if(rv == -1)
{
ec.assign(errno,std::generic_category());
return nonstd::make_unexpected({errno,std::generic_category()});
return nonstd::make_unexpected(std::error_code{errno,std::generic_category()});
}
tmp_path = can_path;

Loading…
Cancel
Save