Chromium Code Reviews| 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> |