diff options
author | Max Kellermann <max@musicpd.org> | 2020-02-20 16:47:28 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2020-02-20 16:47:32 +0100 |
commit | d072b3cb177ed509b42f70acde039726be4574e0 (patch) | |
tree | 32342797167c3b4288ce65253ed52cf470f235c4 /src/storage | |
parent | 646fef108a219996523d326dd04dc1f8d75b04dc (diff) |
storage/smbclient: remove misplaced .c_str() call
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/plugins/SmbclientStorage.cxx | 2 |
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); } |