fix linux
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit

This commit is contained in:
2025-08-05 15:21:22 -05:00
parent 84794ce862
commit 08449b2468
2 changed files with 4 additions and 7 deletions

View File

@@ -614,9 +614,10 @@ public:
return mount_location_;
}
[[nodiscard]] auto mount(std::vector<std::string> orig_args,
std::vector<std::string> args, provider_type prov,
std::string_view unique_id) -> int;
[[nodiscard]] auto mount([[maybe_unused]] std::vector<std::string> orig_args,
std::vector<std::string> args,
[[maybe_unused]] provider_type prov,
[[maybe_unused]] std::string_view unique_id) -> int;
};
} // namespace repertory

View File

@@ -405,10 +405,6 @@ auto fuse_base::mount(std::vector<std::string> orig_args,
return res;
}
if (not foreground_ && not utils::collection::includes(args, "-f")) {
args.insert(std::next(args.begin()), "-f");
}
std::vector<const char *> fuse_argv(args.size());
for (std::size_t idx{0U}; idx < args.size(); ++idx) {
fuse_argv[idx] = args[idx].c_str();