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_);