From fa282d024e04fb30293409179229628f5e055cc5 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Fri, 13 Sep 2024 12:19:01 +0200 Subject: Avoid unnecessary copies --- src/other_tools/just_mr/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/other_tools/just_mr/utils.cpp') diff --git a/src/other_tools/just_mr/utils.cpp b/src/other_tools/just_mr/utils.cpp index 2243b799..9700b824 100644 --- a/src/other_tools/just_mr/utils.cpp +++ b/src/other_tools/just_mr/utils.cpp @@ -33,7 +33,7 @@ auto ResolveRepo(ExpressionPtr const& repo_desc, return std::nullopt; } [[maybe_unused]] auto insert_res = seen->insert(desc_str); - auto new_repo_desc = repos[desc_str]; + auto const& new_repo_desc = repos[desc_str]; if (not new_repo_desc->IsMap()) { Logger::Log(LogLevel::Error, "Config: While resolving dependencies:\nDescription of " -- cgit v1.2.3