فهرست منبع

Merge pull request #3287 from sergiocampama/initialized

Add initialized as a reserved keyword as that's the actual property name
Thomas Van Lenten 8 سال پیش
والد
کامیت
5a52b3588d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/google/protobuf/compiler/objectivec/objectivec_helpers.cc

+ 1 - 1
src/google/protobuf/compiler/objectivec/objectivec_helpers.cc

@@ -196,7 +196,7 @@ const char* const kReservedWordList[] = {
     // method declared in protos. The main cases are methods
     // that take no arguments, or setFoo:/hasFoo: type methods.
     "clear", "data", "delimitedData", "descriptor", "extensionRegistry",
-    "extensionsCurrentlySet", "isInitialized", "serializedSize",
+    "extensionsCurrentlySet", "initialized", "isInitialized", "serializedSize",
     "sortedExtensionsInUse", "unknownFields",
 
     // MacTypes.h names