fs/Path: add operator/(Path,Path)
Modeled after std::filesystem::operator/() from C++17.
This commit is contained in:
@@ -43,8 +43,7 @@ try {
|
||||
|
||||
#ifndef _WIN32
|
||||
try {
|
||||
const auto x = AllocatedPath::Build(path_fs,
|
||||
PathTraitsFS::CURRENT_DIRECTORY);
|
||||
const auto x = path_fs / Path::FromFS(PathTraitsFS::CURRENT_DIRECTORY);
|
||||
const FileInfo fi2(x);
|
||||
} catch (const std::system_error &e) {
|
||||
if (IsAccessDenied(e))
|
||||
|
Reference in New Issue
Block a user