storage/smbclient: remove misplaced .c_str() call
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user