Commit d072b3cb authored by Max Kellermann's avatar Max Kellermann

storage/smbclient: remove misplaced .c_str() call

parent 646fef10
...@@ -137,7 +137,7 @@ SmbclientStorage::OpenDirectory(const char *uri_utf8) ...@@ -137,7 +137,7 @@ SmbclientStorage::OpenDirectory(const char *uri_utf8)
throw MakeErrno("Failed to open directory"); 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); handle);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment