Commit e406747c authored by xiaofeng@google.com's avatar xiaofeng@google.com

Fix issue 445, issue 449

parent 1e5a5e84
...@@ -551,7 +551,7 @@ class LIBPROTOBUF_EXPORT ExtensionSet { ...@@ -551,7 +551,7 @@ class LIBPROTOBUF_EXPORT ExtensionSet {
// only contain a small number of extensions whereas hash_map is optimized // only contain a small number of extensions whereas hash_map is optimized
// for 100 elements or more. Also, we want AppendToList() to order fields // for 100 elements or more. Also, we want AppendToList() to order fields
// by field number. // by field number.
map<int, Extension> extensions_; std::map<int, Extension> extensions_;
GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ExtensionSet); GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(ExtensionSet);
}; };
......
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
// Based on original Protocol Buffers design by // Based on original Protocol Buffers design by
// Sanjay Ghemawat, Jeff Dean, and others. // Sanjay Ghemawat, Jeff Dean, and others.
#include <iostream>
#include <stack> #include <stack>
#include <google/protobuf/stubs/hash.h> #include <google/protobuf/stubs/hash.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment