From 8d145b23d9daf609822250716c509bbb3d355e7b Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Fri, 9 Mar 2012 12:41:26 -0800 Subject: [PATCH] [Issue #240] Adding semicolon to _af_nsjon_encode/decode labels --- AFNetworking/AFJSONUtilities.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AFNetworking/AFJSONUtilities.m b/AFNetworking/AFJSONUtilities.m index 36d5fce..51241cf 100644 --- a/AFNetworking/AFJSONUtilities.m +++ b/AFNetworking/AFJSONUtilities.m @@ -90,7 +90,7 @@ NSData * AFJSONEncode(id object, NSError **error) { data = [JSONString dataUsingEncoding:NSUTF8StringEncoding]; } else if (_NSJSONSerializationClass && [_NSJSONSerializationClass respondsToSelector:_NSJSONSerializationSelector]) { #ifdef _AFNETWORKING_PREFER_NSJSONSERIALIZATION_ - _af_nsjson_encode: + _af_nsjson_encode:; #endif NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[_NSJSONSerializationClass methodSignatureForSelector:_NSJSONSerializationSelector]]; invocation.target = _NSJSONSerializationClass; @@ -176,7 +176,7 @@ id AFJSONDecode(NSData *data, NSError **error) { [invocation getReturnValue:&JSON]; } else if (_NSJSONSerializationClass && [_NSJSONSerializationClass respondsToSelector:_NSJSONSerializationSelector]) { #ifdef _AFNETWORKING_PREFER_NSJSONSERIALIZATION_ - _af_nsjson_decode: + _af_nsjson_decode:; #endif NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[_NSJSONSerializationClass methodSignatureForSelector:_NSJSONSerializationSelector]]; invocation.target = _NSJSONSerializationClass;