From 1efc9bb5c62c20dc0a17763a84861673ad8489bf Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 13 Feb 2024 23:59:10 -0600 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 998a8f8e..c9c14b27 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -149,8 +149,7 @@ namespace l if(rv == -1) return -errno; - auto rv = cache.insert({fusepath_,basepaths[0]}); - i = rv.first; + i = cache.insert({fusepath_,basepaths[0]}).first; } fullpath = fs::path::make(i->second,fusepath_);