blob: 6916c98bd29b21be77b95f8ecc74005344cdc4f9 [file] [log] [blame]
James Kuszmaulb13e13f2023-11-22 20:44:04 -08001From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2From: Peter Johnson <johnson.peter@gmail.com>
3Date: Sat, 10 Jun 2023 14:41:39 -0700
Maxwell Henderson80bec322024-01-09 15:48:44 -08004Subject: [PATCH 02/12] Remove redundant move
James Kuszmaulb13e13f2023-11-22 20:44:04 -08005
6---
7 src/google/protobuf/extension_set.h | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10diff --git a/src/google/protobuf/extension_set.h b/src/google/protobuf/extension_set.h
11index 0e6d0521104d7f721bdbad1dd593233b035c5b85..b5343689ef7c16442995746439bbe8928022c593 100644
12--- a/src/google/protobuf/extension_set.h
13+++ b/src/google/protobuf/extension_set.h
14@@ -714,7 +714,7 @@ class PROTOBUF_EXPORT ExtensionSet {
15 static KeyValueFunctor ForEach(Iterator begin, Iterator end,
16 KeyValueFunctor func) {
17 for (Iterator it = begin; it != end; ++it) func(it->first, it->second);
18- return std::move(func);
19+ return func;
20 }
21
22 // Applies a functor to the <int, Extension&> pairs in sorted order.