lib/nfs/Base: use std::string_view

This commit is contained in:
Max Kellermann
2024-05-06 15:21:24 +02:00
parent b6314b4c4b
commit bcc39be784
3 changed files with 12 additions and 18 deletions

View File

@@ -403,7 +403,7 @@ CreateNfsStorageURI(EventLoop &event_loop, const char *base)
const std::string server(p, mount);
nfs_set_base(server.c_str(), mount);
nfs_set_base(server, mount);
return std::make_unique<NfsStorage>(event_loop, base,
server.c_str(), mount);