aboutsummaryrefslogtreecommitdiffstats
path: root/src/archive/plugins/Bzip2ArchivePlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-12-02 06:44:57 +0100
committerMax Kellermann <max@duempel.org>2014-12-02 06:45:57 +0100
commitb227fddec77c52043496487a58f3d60d07f1b45d (patch)
treeaef1cda5ea4fbaabc0119ae3f232b10bc869fe9d /src/archive/plugins/Bzip2ArchivePlugin.cxx
parent2c1f1de33ccb120ffaf740d4a7090bf5f7a5f9af (diff)
downloadmpd-b227fddec77c52043496487a58f3d60d07f1b45d.tar.gz
mpd-b227fddec77c52043496487a58f3d60d07f1b45d.tar.xz
mpd-b227fddec77c52043496487a58f3d60d07f1b45d.zip
fs/Path: add methods GetBase() and GetDirectoryName()
Diffstat (limited to '')
-rw-r--r--src/archive/plugins/Bzip2ArchivePlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archive/plugins/Bzip2ArchivePlugin.cxx b/src/archive/plugins/Bzip2ArchivePlugin.cxx
index 2b92049dd..8548cb1e8 100644
--- a/src/archive/plugins/Bzip2ArchivePlugin.cxx
+++ b/src/archive/plugins/Bzip2ArchivePlugin.cxx
@@ -53,7 +53,7 @@ public:
Bzip2ArchiveFile(Path path, InputStream *_is)
:ArchiveFile(bz2_archive_plugin),
- name(PathTraitsFS::GetBase(path.c_str())),
+ name(path.GetBase().c_str()),
istream(_is) {
// remove .bz2 suffix
const size_t len = name.length();