using nana filesystem

This commit is contained in:
qPCR4vir
2019-11-05 21:00:33 +01:00
parent 3eee1f76b9
commit a8b5e92947
4 changed files with 726 additions and 479 deletions

View File

@@ -1522,7 +1522,7 @@ namespace nana
if (!*str)
{
targets.emplace_back(parent_path);
impl_->path = parent_path.parent_path().u8string();
impl_->path = parent_path.parent_path().string();
}
else
{
@@ -1532,7 +1532,7 @@ namespace nana
targets.emplace_back(parent_path / path_type{str});
str += (len + 1);
}
impl_->path = parent_path.u8string();
impl_->path = parent_path.string();
}
}
else
@@ -1540,7 +1540,7 @@ namespace nana
wfile.resize(std::wcslen(wfile.data()));
targets.emplace_back(wfile);
impl_->path = targets.front().parent_path().u8string();
impl_->path = targets.front().parent_path().string();
}
#elif defined(NANA_POSIX)