Преглед изворни кода

Merge remote-tracking branch 'origin/master' into merge

Jisi Liu пре 8 година
родитељ
комит
f39d4de94f

+ 2 - 2
src/google/protobuf/compiler/code_generator.h

@@ -165,8 +165,8 @@ typedef GeneratorContext OutputDirectory;
 //   "foo=bar,baz,qux=corge"
 //   "foo=bar,baz,qux=corge"
 // parses to the pairs:
 // parses to the pairs:
 //   ("foo", "bar"), ("baz", ""), ("qux", "corge")
 //   ("foo", "bar"), ("baz", ""), ("qux", "corge")
-LIBPROTOC_EXPORT void ParseGeneratorParameter(const string&,
-                             std::vector<std::pair<string, string> >*);
+LIBPROTOC_EXPORT void ParseGeneratorParameter(
+    const string&, std::vector<std::pair<string, string> >*);
 
 
 }  // namespace compiler
 }  // namespace compiler
 }  // namespace protobuf
 }  // namespace protobuf

+ 1 - 0
src/google/protobuf/compiler/command_line_interface_unittest.cc

@@ -63,6 +63,7 @@
 #include <gtest/gtest.h>
 #include <gtest/gtest.h>
 
 
 #include <google/protobuf/stubs/strutil.h>
 #include <google/protobuf/stubs/strutil.h>
+#include <google/protobuf/stubs/io_win32.h>
 
 
 namespace google {
 namespace google {
 namespace protobuf {
 namespace protobuf {