diff options
author | Denis Krjuchkov <denis@crazydev.net> | 2013-12-05 04:52:24 +0600 |
---|---|---|
committer | Denis Krjuchkov <denis@crazydev.net> | 2013-12-05 12:35:28 +0600 |
commit | 378e8a6224c76b2f7d70c1ff718f8a911c4b34b9 (patch) | |
tree | ac71f1865b43ce9085b1eb621e5e8a7c5986d0ec /src/fs | |
parent | 289fdcc52b34e3ac4ff08355c47cb0e8bac6f737 (diff) | |
download | mpd-378e8a6224c76b2f7d70c1ff718f8a911c4b34b9.tar.gz mpd-378e8a6224c76b2f7d70c1ff718f8a911c4b34b9.tar.xz mpd-378e8a6224c76b2f7d70c1ff718f8a911c4b34b9.zip |
fs/AllocatedPath.cxx: don't use g_path_get_dirname
Diffstat (limited to 'src/fs')
-rw-r--r-- | src/fs/AllocatedPath.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/AllocatedPath.cxx b/src/fs/AllocatedPath.cxx index 9dc7a644c..0d0aaacbe 100644 --- a/src/fs/AllocatedPath.cxx +++ b/src/fs/AllocatedPath.cxx @@ -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 |