Commit 378e8a62 authored by Denis Krjuchkov's avatar Denis Krjuchkov

fs/AllocatedPath.cxx: don't use g_path_get_dirname

parent 289fdcc5
......@@ -57,7 +57,7 @@ AllocatedPath::FromUTF8(const char *path_utf8, Error &error)
AllocatedPath
AllocatedPath::GetDirectoryName() const
{
return AllocatedPath(Donate(), g_path_get_dirname(c_str()));
return FromFS(PathTraitsFS::GetParent(c_str()));
}
std::string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment