From 56df7b3916f669edd315808f92e63e7553367f1d Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 14 Feb 2025 13:04:28 +0100 Subject: Store HashFunction by value Although references give an additional information about ownership, they introduce additional design difficulties. --- src/other_tools/just_mr/fetch.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/other_tools/just_mr/fetch.cpp') diff --git a/src/other_tools/just_mr/fetch.cpp b/src/other_tools/just_mr/fetch.cpp index 8ac53212..03813b13 100644 --- a/src/other_tools/just_mr/fetch.cpp +++ b/src/other_tools/just_mr/fetch.cpp @@ -425,7 +425,7 @@ auto MultiRepoFetch(std::shared_ptr const& config, &*auth_config, &*retry_config, config, - &hash_fct); + hash_fct); } bool const has_remote_api = remote_api != nullptr; -- cgit v1.2.3