storage/smbclient: remove misplaced .c_str() call
This commit is contained in:
parent
646fef108a
commit
d072b3cb17
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue