diff options
author | Thomas Van Lenten <thomasvl@google.com> | 2018-01-31 13:58:11 -0500 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2018-01-31 14:24:51 -0500 |
commit | d83837ded558bc2fd2b61a5f51ed52e4606345aa (patch) | |
tree | ab509f8a2938a9e6f1d6aaa68c2afe821c517da2 /src/google | |
parent | 81aeed082ecc35b62f1808234f4a0dd347775b33 (diff) |
Fix to use "nil" instead of "NULL" for objc objects.
Diffstat (limited to 'src/google')
-rw-r--r-- | src/google/protobuf/compiler/objectivec/objectivec_enum.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/compiler/objectivec/objectivec_enum.cc b/src/google/protobuf/compiler/objectivec/objectivec_enum.cc index 95e53f19..978e985c 100644 --- a/src/google/protobuf/compiler/objectivec/objectivec_enum.cc +++ b/src/google/protobuf/compiler/objectivec/objectivec_enum.cc @@ -149,7 +149,7 @@ void EnumGenerator::GenerateSource(io::Printer* printer) { printer->Print( "GPBEnumDescriptor *$name$_EnumDescriptor(void) {\n" - " static _Atomic(GPBEnumDescriptor*) descriptor = NULL;\n" + " static _Atomic(GPBEnumDescriptor*) descriptor = nil;\n" " if (!descriptor) {\n", "name", name_); |