Nazarbek Altybay hace 7 años
padre
commit
887f5e5f39
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/google/protobuf/io/coded_stream.h

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

@@ -67,7 +67,7 @@
 //   // Read a file created by the above code.
 //   // Read a file created by the above code.
 //   int fd = open("myfile", O_RDONLY);
 //   int fd = open("myfile", O_RDONLY);
 //   ZeroCopyInputStream* raw_input = new FileInputStream(fd);
 //   ZeroCopyInputStream* raw_input = new FileInputStream(fd);
-//   CodedInputStream coded_input = new CodedInputStream(raw_input);
+//   CodedInputStream* coded_input = new CodedInputStream(raw_input);
 //
 //
 //   coded_input->ReadLittleEndian32(&magic_number);
 //   coded_input->ReadLittleEndian32(&magic_number);
 //   if (magic_number != 1234) {
 //   if (magic_number != 1234) {