Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: third_party/protobuf/patches/0012-add-map-include.patch

Issue 2974603002: [Protobuf] Add <map> include to workaround a gcc bug (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/protobuf/README.chromium ('k') | third_party/protobuf/src/google/protobuf/descriptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/patches/0012-add-map-include.patch
diff --git a/third_party/protobuf/patches/0012-add-map-include.patch b/third_party/protobuf/patches/0012-add-map-include.patch
new file mode 100644
index 0000000000000000000000000000000000000000..a7c12136c83d239e1eeed84608c781fa2b942a62
--- /dev/null
+++ b/third_party/protobuf/patches/0012-add-map-include.patch
@@ -0,0 +1,11 @@
+diff -ru protobuf/src/google/protobuf/descriptor.h protobuf2/src/google/protobuf/descriptor.h
+--- protobuf/src/google/protobuf/descriptor.h 2017-07-06 15:19:07.042709476 -0700
++++ protobuf2/src/google/protobuf/descriptor.h 2017-07-06 15:32:27.892104861 -0700
+@@ -54,7 +54,6 @@
+ #ifndef GOOGLE_PROTOBUF_DESCRIPTOR_H__
+ #define GOOGLE_PROTOBUF_DESCRIPTOR_H__
+
+-#include <map>
Peter Kasting 2017/07/06 23:19:23 Is this a reversed delta?
Tom Anderson 2017/07/06 23:51:08 Yep, oops
+ #include <memory>
+ #ifndef _SHARED_PTR_H
+ #include <google/protobuf/stubs/shared_ptr.h>
« no previous file with comments | « third_party/protobuf/README.chromium ('k') | third_party/protobuf/src/google/protobuf/descriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698