From b227fddec77c52043496487a58f3d60d07f1b45d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 2 Dec 2014 06:44:57 +0100 Subject: fs/Path: add methods GetBase() and GetDirectoryName() --- src/archive/plugins/Bzip2ArchivePlugin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/archive') 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(); -- cgit v1.2.3