aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-02-05 19:35:41 +0100
committerMax Kellermann <max@duempel.org>2014-02-05 19:35:41 +0100
commitdc76b24e5f45a7dd43cb681881c296cb2f492e65 (patch)
tree8c055f40f13476f89a99411098444587813174c8 /src
parente3e3053f32cb89714c372b15bbd8c22e1c0a6513 (diff)
downloadmpd-dc76b24e5f45a7dd43cb681881c296cb2f492e65.tar.gz
mpd-dc76b24e5f45a7dd43cb681881c296cb2f492e65.tar.xz
mpd-dc76b24e5f45a7dd43cb681881c296cb2f492e65.zip
storage/local: OpenDirectory() returns StorageDirectoryReader*
Diffstat (limited to 'src')
-rw-r--r--src/storage/plugins/LocalStorage.cxx2
-rw-r--r--src/storage/plugins/LocalStorage.hxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/storage/plugins/LocalStorage.cxx b/src/storage/plugins/LocalStorage.cxx
index f06e447b5..0d45c9dcc 100644
--- a/src/storage/plugins/LocalStorage.cxx
+++ b/src/storage/plugins/LocalStorage.cxx
@@ -92,7 +92,7 @@ LocalStorage::GetInfo(const char *uri_utf8, bool follow, FileInfo &info,
return Stat(path_fs, follow, info, error);
}
-LocalDirectoryReader *
+StorageDirectoryReader *
LocalStorage::OpenDirectory(const char *uri_utf8, Error &error)
{
AllocatedPath path_fs = MapFS(uri_utf8, error);
diff --git a/src/storage/plugins/LocalStorage.hxx b/src/storage/plugins/LocalStorage.hxx
index 319d0d189..bcbced3eb 100644
--- a/src/storage/plugins/LocalStorage.hxx
+++ b/src/storage/plugins/LocalStorage.hxx
@@ -60,8 +60,8 @@ public:
virtual bool GetInfo(const char *uri_utf8, bool follow, FileInfo &info,
Error &error) override;
- virtual LocalDirectoryReader *OpenDirectory(const char *uri_utf8,
- Error &error) override;
+ virtual StorageDirectoryReader *OpenDirectory(const char *uri_utf8,
+ Error &error) override;
virtual std::string MapUTF8(const char *uri_utf8) const override;