Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing inline keyword for JSON functions

  • Loading branch information...
commit 03bc87dfd7a304e9c39fcbc735936add4e70c4e3 1 parent 6a18006
@mattt mattt authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 AFNetworking/AFJSONUtilities.h
View
4 AFNetworking/AFJSONUtilities.h
@@ -24,7 +24,7 @@
#include <Availability.h>
-static inline NSData * AFJSONEncode(id object, NSError **error) {
+static NSData * AFJSONEncode(id object, NSError **error) {
NSData *data = nil;
SEL _JSONKitSelector = NSSelectorFromString(@"JSONDataWithOptions:error:");
@@ -87,7 +87,7 @@ static inline NSData * AFJSONEncode(id object, NSError **error) {
return data;
}
-static inline id AFJSONDecode(NSData *data, NSError **error) {
+static id AFJSONDecode(NSData *data, NSError **error) {
id JSON = nil;
SEL _JSONKitSelector = NSSelectorFromString(@"objectFromJSONDataWithParseOptions:error:");
Please sign in to comment.
Something went wrong with that request. Please try again.