fix linux
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
@@ -614,9 +614,10 @@ public:
|
|||||||
return mount_location_;
|
return mount_location_;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] auto mount(std::vector<std::string> orig_args,
|
[[nodiscard]] auto mount([[maybe_unused]] std::vector<std::string> orig_args,
|
||||||
std::vector<std::string> args, provider_type prov,
|
std::vector<std::string> args,
|
||||||
std::string_view unique_id) -> int;
|
[[maybe_unused]] provider_type prov,
|
||||||
|
[[maybe_unused]] std::string_view unique_id) -> int;
|
||||||
};
|
};
|
||||||
} // namespace repertory
|
} // namespace repertory
|
||||||
|
|
||||||
|
@@ -405,10 +405,6 @@ auto fuse_base::mount(std::vector<std::string> orig_args,
|
|||||||
return res;
|
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());
|
std::vector<const char *> fuse_argv(args.size());
|
||||||
for (std::size_t idx{0U}; idx < args.size(); ++idx) {
|
for (std::size_t idx{0U}; idx < args.size(); ++idx) {
|
||||||
fuse_argv[idx] = args[idx].c_str();
|
fuse_argv[idx] = args[idx].c_str();
|
||||||
|
Reference in New Issue
Block a user