summaryrefslogtreecommitdiff
path: root/src/storage/CompositeStorage.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-01-17 12:17:41 +0100
committerMax Kellermann <max@musicpd.org>2018-01-17 12:17:41 +0100
commitbbc5212436021cd76f173ce60d7f0d95411d3319 (patch)
treea6b517c25799913d4cf7f3b5fbc95d143a9a53e3 /src/storage/CompositeStorage.cxx
parentc4f7740b800c49ad119e5d70335ea51a666e0114 (diff)
fs/AllocatedPath: make the nullptr_t constructor public
Diffstat (limited to 'src/storage/CompositeStorage.cxx')
-rw-r--r--src/storage/CompositeStorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/CompositeStorage.cxx b/src/storage/CompositeStorage.cxx
index 84ee67fc6..545124d4b 100644
--- a/src/storage/CompositeStorage.cxx
+++ b/src/storage/CompositeStorage.cxx
@@ -316,7 +316,7 @@ CompositeStorage::MapFS(const char *uri) const noexcept
auto f = FindStorage(uri);
if (f.directory->storage == nullptr)
- return AllocatedPath::Null();
+ return nullptr;
return f.directory->storage->MapFS(f.uri);
}