fs/AllocatedPath.cxx: don't use g_path_get_dirname

This commit is contained in:
Denis Krjuchkov 2013-12-05 04:52:24 +06:00
parent 289fdcc52b
commit 378e8a6224

View File

@ -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