From 845744929e40dbdc81ed9c7df0152d58bbb28be6 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Thu, 26 Sep 2024 14:03:28 +0200 Subject: Fix automatic moves proposed by clang-tidy. Enable performance-no-automatic-move check. --- src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/bazel_msg') diff --git a/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp b/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp index 1992961d..58059156 100644 --- a/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp +++ b/src/buildtool/execution_api/bazel_msg/bazel_msg_factory.cpp @@ -305,7 +305,7 @@ auto BazelMsgFactory::CreateDirectoryDigestFromTree( return std::nullopt; } - auto const digest = bundle->blob.digest; + auto digest = bundle->blob.digest; try { if (not process_blob(std::move(bundle->blob))) { return std::nullopt; -- cgit v1.2.3