Change Branches::Ptr& to by-value to ensure lifetime in full call

This commit is contained in:
Antonio SJ Musumeci 2026-04-16 08:21:55 -05:00
parent 7382a3dcd6
commit 5173a3a420
5 changed files with 13 additions and 13 deletions

View file

@ -237,8 +237,8 @@ _link_exdev_rel_symlink(const fuse_req_ctx_t *ctx_,
static
int
_link_exdev_abs_base_symlink(const fuse_req_ctx_t *ctx_,
const Policy::Search &openPolicy_,
const Branches::Ptr &ibranches_,
const Policy::Search &openPolicy_,
const Branches::Ptr ibranches_,
const fs::path &oldpath_,
const fs::path &newpath_,
struct stat *st_,