summaryrefslogtreecommitdiff
path: root/src/storage
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-02-20 16:47:28 +0100
committerMax Kellermann <max@musicpd.org>2020-02-20 16:47:32 +0100
commitd072b3cb177ed509b42f70acde039726be4574e0 (patch)
tree32342797167c3b4288ce65253ed52cf470f235c4 /src/storage
parent646fef108a219996523d326dd04dc1f8d75b04dc (diff)
storage/smbclient: remove misplaced .c_str() call
Diffstat (limited to 'src/storage')
-rw-r--r--src/storage/plugins/SmbclientStorage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/storage/plugins/SmbclientStorage.cxx b/src/storage/plugins/SmbclientStorage.cxx
index 4b47c6af6..f86542383 100644
--- a/src/storage/plugins/SmbclientStorage.cxx
+++ b/src/storage/plugins/SmbclientStorage.cxx
@@ -137,7 +137,7 @@ SmbclientStorage::OpenDirectory(const char *uri_utf8)
throw MakeErrno("Failed to open directory");
}
- return std::make_unique<SmbclientDirectoryReader>(std::move(mapped.c_str()),
+ return std::make_unique<SmbclientDirectoryReader>(std::move(mapped),
handle);
}