diff --git a/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc b/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc index 3002c8ccac..599023b330 100644 --- a/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc +++ b/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc @@ -1745,7 +1745,7 @@ bool ImportWriter::ProtoFrameworkCollector::ConsumeLine( TrimWhitespace(&proto_file); if (!proto_file.empty()) { std::map::iterator existing_entry = - map_->find(string(proto_file)); + map_->find(std::string(proto_file)); if (existing_entry != map_->end()) { std::cerr << "warning: duplicate proto file reference, replacing " "framework entry for '"