From 6b9a7e11563d20aa4e4cb4c62146362f4c90c533 Mon Sep 17 00:00:00 2001 From: Paul Cristian Sarbu Date: Tue, 1 Oct 2024 09:35:04 +0200 Subject: just-mr: Small fixes --- src/other_tools/just_mr/launch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/other_tools/just_mr/launch.cpp') 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 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 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 \"{} {}\"", -- cgit v1.2.3