Index: third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.h |
diff --git a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.h b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.h |
index 8b87ebc492d00d593137087b5c02750ece089574..5f466fc47cc22aa16adb436ab759b620f7f3ab40 100644 |
--- a/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.h |
+++ b/third_party/protobuf/src/google/protobuf/compiler/csharp/csharp_primitive_field.h |
@@ -41,9 +41,13 @@ namespace protobuf { |
namespace compiler { |
namespace csharp { |
+struct Options; |
+ |
class PrimitiveFieldGenerator : public FieldGeneratorBase { |
public: |
- PrimitiveFieldGenerator(const FieldDescriptor* descriptor, int fieldOrdinal); |
+ PrimitiveFieldGenerator(const FieldDescriptor* descriptor, |
+ int fieldOrdinal, |
+ const Options *options); |
~PrimitiveFieldGenerator(); |
virtual void GenerateCodecCode(io::Printer* printer); |
@@ -67,7 +71,9 @@ class PrimitiveFieldGenerator : public FieldGeneratorBase { |
class PrimitiveOneofFieldGenerator : public PrimitiveFieldGenerator { |
public: |
- PrimitiveOneofFieldGenerator(const FieldDescriptor* descriptor, int fieldOrdinal); |
+ PrimitiveOneofFieldGenerator(const FieldDescriptor* descriptor, |
+ int fieldOrdinal, |
+ const Options *options); |
~PrimitiveOneofFieldGenerator(); |
virtual void GenerateCloningCode(io::Printer* printer); |