aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/csharp/csharp_field_base.h
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2015-06-23 11:54:19 +0100
committerJon Skeet <jonskeet@google.com>2015-06-23 12:42:20 +0100
commit6c1fe6ea3e4e3915fc4164c43230210f9a0ac24f (patch)
tree3acd6ea7eebd05c6e12958ec3cf901d098ad9b14 /src/google/protobuf/compiler/csharp/csharp_field_base.h
parent45b70328f218dc2b3e20191c2cfa92872ef10d04 (diff)
downloadprotobuf-6c1fe6ea3e4e3915fc4164c43230210f9a0ac24f.tar.gz
protobuf-6c1fe6ea3e4e3915fc4164c43230210f9a0ac24f.tar.bz2
protobuf-6c1fe6ea3e4e3915fc4164c43230210f9a0ac24f.zip
Implement Clone.
Fixes issue #527.
Diffstat (limited to 'src/google/protobuf/compiler/csharp/csharp_field_base.h')
-rw-r--r--src/google/protobuf/compiler/csharp/csharp_field_base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_field_base.h b/src/google/protobuf/compiler/csharp/csharp_field_base.h
index 1b044a49..91ae3ba1 100644
--- a/src/google/protobuf/compiler/csharp/csharp_field_base.h
+++ b/src/google/protobuf/compiler/csharp/csharp_field_base.h
@@ -47,6 +47,7 @@ class FieldGeneratorBase : public SourceGeneratorBase {
FieldGeneratorBase(const FieldDescriptor* descriptor, int fieldOrdinal);
~FieldGeneratorBase();
+ virtual void GenerateCloningCode(io::Printer* printer) = 0;
virtual void GenerateMembers(io::Printer* printer) = 0;
virtual void GenerateMergingCode(io::Printer* printer) = 0;
virtual void GenerateParsingCode(io::Printer* printer) = 0;