| Index: third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.h
|
| diff --git a/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.h b/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.h
|
| index 655ebde468f7586e0d899a8400a5a27210eb72a1..44c9ff3ee5318780def2531041cb253f93879c02 100644
|
| --- a/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.h
|
| +++ b/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_primitive_field.h
|
| @@ -59,6 +59,7 @@ class PrimitiveFieldGenerator : public FieldGenerator {
|
| void GenerateMergingCode(io::Printer* printer) const;
|
| void GenerateSwappingCode(io::Printer* printer) const;
|
| void GenerateConstructorCode(io::Printer* printer) const;
|
| + void GenerateCopyConstructorCode(io::Printer* printer) const;
|
| void GenerateMergeFromCodedStream(io::Printer* printer) const;
|
| void GenerateSerializeWithCachedSizes(io::Printer* printer) const;
|
| void GenerateSerializeWithCachedSizesToArray(io::Printer* printer) const;
|
| @@ -66,7 +67,7 @@ class PrimitiveFieldGenerator : public FieldGenerator {
|
|
|
| protected:
|
| const FieldDescriptor* descriptor_;
|
| - map<string, string> variables_;
|
| + std::map<string, string> variables_;
|
|
|
| private:
|
| GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(PrimitiveFieldGenerator);
|
| @@ -105,6 +106,7 @@ class RepeatedPrimitiveFieldGenerator : public FieldGenerator {
|
| void GenerateMergingCode(io::Printer* printer) const;
|
| void GenerateSwappingCode(io::Printer* printer) const;
|
| void GenerateConstructorCode(io::Printer* printer) const;
|
| + void GenerateCopyConstructorCode(io::Printer* printer) const;
|
| void GenerateMergeFromCodedStream(io::Printer* printer) const;
|
| void GenerateMergeFromCodedStreamWithPacking(io::Printer* printer) const;
|
| void GenerateSerializeWithCachedSizes(io::Printer* printer) const;
|
| @@ -113,7 +115,7 @@ class RepeatedPrimitiveFieldGenerator : public FieldGenerator {
|
|
|
| private:
|
| const FieldDescriptor* descriptor_;
|
| - map<string, string> variables_;
|
| + std::map<string, string> variables_;
|
|
|
| GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(RepeatedPrimitiveFieldGenerator);
|
| };
|
|
|