summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/launch.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-10-01 09:35:04 +0200
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-10-25 13:00:43 +0200
commit6b9a7e11563d20aa4e4cb4c62146362f4c90c533 (patch)
treefc01d0379b199df76afc6d1b31c5bec84e95d2cb /src/other_tools/just_mr/launch.cpp
parentee30f8a8acf04ce67b84c2250133f69aeb110793 (diff)
downloadjustbuild-6b9a7e11563d20aa4e4cb4c62146362f4c90c533.tar.gz
just-mr: Small fixes
Diffstat (limited to 'src/other_tools/just_mr/launch.cpp')
-rw-r--r--src/other_tools/just_mr/launch.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/other_tools/just_mr/launch.cpp b/src/other_tools/just_mr/launch.cpp
index 16429864..8430713c 100644
--- a/src/other_tools/just_mr/launch.cpp
+++ b/src/other_tools/just_mr/launch.cpp
@@ -44,7 +44,7 @@ auto CallJust(std::optional<std::filesystem::path> const& config_file,
StorageConfig const& storage_config,
Storage const& storage,
bool forward_build_root,
- std::string multi_repo_tool_name) -> int {
+ std::string const& multi_repo_tool_name) -> int {
// check if subcmd_name can be taken from additional args
auto additional_args_offset = 0U;
auto subcommand = just_cmd_args.subcmd_name;
@@ -89,7 +89,7 @@ auto CallJust(std::optional<std::filesystem::path> const& config_file,
storage_config,
storage,
/*interactive=*/false,
- std::move(multi_repo_tool_name));
+ multi_repo_tool_name);
if (not mr_config_path) {
Logger::Log(LogLevel::Error,
"Failed to setup config for calling \"{} {}\"",