فهرست منبع

Change the #include for any.h to use angle brackets instead of quotes, to be consistent with other protobuf library includes.

Matthew Wu 10 سال پیش
والد
کامیت
187cfc5700
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/google/protobuf/compiler/cpp/cpp_file.cc

+ 1 - 1
src/google/protobuf/compiler/cpp/cpp_file.cc

@@ -846,7 +846,7 @@ void FileGenerator::GenerateLibraryIncludes(io::Printer* printer) {
 
   if (IsAnyMessage(file_)) {
     printer->Print(
-      "#include \"google/protobuf/any.h\"\n");
+      "#include <google/protobuf/any.h>\n");
   }
 }