aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/compiler/csharp/csharp_source_generator_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google/protobuf/compiler/csharp/csharp_source_generator_base.h')
-rw-r--r--src/google/protobuf/compiler/csharp/csharp_source_generator_base.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/google/protobuf/compiler/csharp/csharp_source_generator_base.h b/src/google/protobuf/compiler/csharp/csharp_source_generator_base.h
index 1955394e..61c19511 100644
--- a/src/google/protobuf/compiler/csharp/csharp_source_generator_base.h
+++ b/src/google/protobuf/compiler/csharp/csharp_source_generator_base.h
@@ -40,8 +40,6 @@ namespace protobuf {
namespace compiler {
namespace csharp {
-class Writer;
-
class SourceGeneratorBase {
protected:
SourceGeneratorBase(const FileDescriptor* descriptor);
@@ -62,7 +60,7 @@ class SourceGeneratorBase {
return runtimeSuffix_;
}
- void WriteGeneratedCodeAttributes(Writer* writer);
+ void WriteGeneratedCodeAttributes(io::Printer* printer);
private:
const FileDescriptor* descriptor_;