summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netfs/fuse/fuseApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/netfs/fuse/fuseApp.cpp b/netfs/fuse/fuseApp.cpp
index a206e60..159febf 100644
--- a/netfs/fuse/fuseApp.cpp
+++ b/netfs/fuse/fuseApp.cpp
@@ -297,6 +297,6 @@ NetFS::ReqEnv
NetFS::FuseApp::reqEnv()
{
struct fuse_context * c = fuse_get_context();
- const auto t = converter.mapper->mapFileSystem(safe {c->uid}, safe {c->gid});
- return {t.username, t.groupname};
+ auto t = converter.mapper->mapFileSystem(safe {c->uid}, safe {c->gid});
+ return {std::move(t.username), std::move(t.groupname)};
}