Index: third_party/protobuf/src/google/protobuf/descriptor_database.cc |
diff --git a/third_party/protobuf/src/google/protobuf/descriptor_database.cc b/third_party/protobuf/src/google/protobuf/descriptor_database.cc |
index 95708d948ed2fac79579c21c98d75eb37f6cff87..23e48a67f59c39adf027a31129ca6af6c5035058 100644 |
--- a/third_party/protobuf/src/google/protobuf/descriptor_database.cc |
+++ b/third_party/protobuf/src/google/protobuf/descriptor_database.cc |
@@ -101,7 +101,7 @@ bool SimpleDescriptorDatabase::DescriptorIndex<Value>::AddSymbol( |
if (iter == by_symbol_.end()) { |
// Apparently the map is currently empty. Just insert and be done with it. |
- by_symbol_.insert(make_pair(name, value)); |
+ by_symbol_.insert(typename map<string, Value>::value_type(name, value)); |
return true; |
} |
@@ -128,7 +128,7 @@ bool SimpleDescriptorDatabase::DescriptorIndex<Value>::AddSymbol( |
// Insert the new symbol using the iterator as a hint, the new entry will |
// appear immediately before the one the iterator is pointing at. |
- by_symbol_.insert(iter, make_pair(name, value)); |
+ by_symbol_.insert(iter, typename map<string, Value>::value_type(name, value)); |
return true; |
} |