Selaa lähdekoodia

Merge pull request #5296 from janisozaur/patch-2

Add missing include guard to zip_writer.h
Adam Cozzette 6 vuotta sitten
vanhempi
commit
ebfc0432c1
1 muutettua tiedostoa jossa 5 lisäystä ja 0 poistoa
  1. 5 0
      src/google/protobuf/compiler/zip_writer.h

+ 5 - 0
src/google/protobuf/compiler/zip_writer.h

@@ -60,6 +60,9 @@
 
 
 // Author: kenton@google.com (Kenton Varda)
 // Author: kenton@google.com (Kenton Varda)
 
 
+#ifndef GOOGLE_PROTOBUF_COMPILER_ZIP_WRITER_H__
+#define GOOGLE_PROTOBUF_COMPILER_ZIP_WRITER_H__
+
 #include <vector>
 #include <vector>
 #include <google/protobuf/stubs/common.h>
 #include <google/protobuf/stubs/common.h>
 #include <google/protobuf/io/zero_copy_stream.h>
 #include <google/protobuf/io/zero_copy_stream.h>
@@ -91,3 +94,5 @@ class ZipWriter {
 }  // namespace compiler
 }  // namespace compiler
 }  // namespace protobuf
 }  // namespace protobuf
 }  // namespace google
 }  // namespace google
+
+#endif  // GOOGLE_PROTOBUF_COMPILER_ZIP_WRITER_H__