Remove stray consts that block std::move() from moving objects.

These are the simplest of cases where removing const from a local
or an argument is sufficient to allow move in place of copy (can't
move from a const object).

Bug: 364788123
Change-Id: I8df0cc66805b31af0a754a34ed323aa95f56850a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850662
Reviewed-by: Lei Zhang <thestig@chromium.org>
Owners-Override: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1353722}
NOKEYCHECK=True
GitOrigin-RevId: 709fd293dd685f8eb975c62e8ccbfc54dbab2c96
diff --git a/client/report_queue_impl.cc b/client/report_queue_impl.cc
index e2646a7..25e3d77 100644
--- a/client/report_queue_impl.cc
+++ b/client/report_queue_impl.cc
@@ -74,7 +74,7 @@
                                std::optional<SourceInfo> source_info,
                                ReportQueue::RecordProducer record_producer) {
   // Generate record data.
-  const auto record_result = std::move(record_producer).Run();
+  auto record_result = std::move(record_producer).Run();
   if (!record_result.has_value()) {
     return base::unexpected(record_result.error());
   }