aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec/GPBDictionary.m
diff options
context:
space:
mode:
authorGravatar Sergio Campamá <kaipi@google.com>2018-06-05 15:14:19 -0400
committerGravatar Adam Cozzette <acozzette@google.com>2018-06-05 13:49:21 -0700
commita3f31bf0e2b74a5b29cbde36ee0d45937f76fda6 (patch)
treeca05210736f5396f02f49d046b0e01ea54a10f3d /objectivec/GPBDictionary.m
parent7e199b9e3501c2a34eeb28fd7eecde46086ad65f (diff)
Update code to work for Xcode 10b1 (#4729)
* Update code to work for Xcode 10b * Update README and test scripts to mention that Xcode 7 is no longer supported
Diffstat (limited to 'objectivec/GPBDictionary.m')
-rw-r--r--objectivec/GPBDictionary.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/objectivec/GPBDictionary.m b/objectivec/GPBDictionary.m
index aa21670a..cedf5e54 100644
--- a/objectivec/GPBDictionary.m
+++ b/objectivec/GPBDictionary.m
@@ -12102,14 +12102,14 @@ void GPBDictionaryReadEntry(id mapDictionary,
}
}
-- (void)enumerateKeysAndObjectsUsingBlock:(void (^)(id key,
+- (void)enumerateKeysAndObjectsUsingBlock:(void (NS_NOESCAPE ^)(id key,
id obj,
BOOL *stop))block {
[_dictionary enumerateKeysAndObjectsUsingBlock:block];
}
- (void)enumerateKeysAndObjectsWithOptions:(NSEnumerationOptions)opts
- usingBlock:(void (^)(id key,
+ usingBlock:(void (NS_NOESCAPE ^)(id key,
id obj,
BOOL *stop))block {
[_dictionary enumerateKeysAndObjectsWithOptions:opts usingBlock:block];