Browse Source

compelete fix issue 5060: change CodedOutputStream to CodedOutputStream*

Wang Kirin 6 years ago
parent
commit
e08f01ce6a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/google/protobuf/io/coded_stream.h

+ 1 - 1
src/google/protobuf/io/coded_stream.h

@@ -664,7 +664,7 @@ class PROTOBUF_EXPORT CodedInputStream {
 // individual value.
 // i.e., in the example above:
 //
-//   CodedOutputStream coded_output = new CodedOutputStream(raw_output);
+//   CodedOutputStream* coded_output = new CodedOutputStream(raw_output);
 //   int magic_number = 1234;
 //   char text[] = "Hello world!";
 //