diff options
author | Max Kellermann <max@duempel.org> | 2014-12-02 06:44:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-12-02 06:45:57 +0100 |
commit | b227fddec77c52043496487a58f3d60d07f1b45d (patch) | |
tree | aef1cda5ea4fbaabc0119ae3f232b10bc869fe9d /src/archive | |
parent | 2c1f1de33ccb120ffaf740d4a7090bf5f7a5f9af (diff) |
fs/Path: add methods GetBase() and GetDirectoryName()
Diffstat (limited to 'src/archive')
-rw-r--r-- | src/archive/plugins/Bzip2ArchivePlugin.cxx | 2 |
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(); |