diff options
Diffstat (limited to 'python/google/protobuf/pyext/message.h')
-rw-r--r-- | python/google/protobuf/pyext/message.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/google/protobuf/pyext/message.h b/python/google/protobuf/pyext/message.h index e729e448..cbd422be 100644 --- a/python/google/protobuf/pyext/message.h +++ b/python/google/protobuf/pyext/message.h @@ -38,7 +38,7 @@ #include <memory> #include <string> -#include <hash_map> +#include <unordered_map> #include <google/protobuf/stubs/common.h> #include <google/protobuf/pyext/thread_unsafe_shared_ptr.h> @@ -105,7 +105,7 @@ typedef struct CMessage { // Also cache extension fields. // The FieldDescriptor is owned by the message's pool; PyObject references // are owned. - typedef __gnu_cxx::hash_map<const FieldDescriptor*, PyObject*> + typedef std::unordered_map<const FieldDescriptor*, PyObject*> CompositeFieldsMap; CompositeFieldsMap* composite_fields; |