Skip to content

Commit

Permalink
Prepare for automatic ARC conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
stig committed Oct 17, 2011
1 parent 26a2afe commit 037d3d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions Classes/SBJsonStreamParser.m
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ - (void) handleTokenNotExpectedHere: (sbjson_token_t) tok {
}

- (SBJsonStreamParserStatus)parse:(NSData *)data_ {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
@try {
@autoreleasepool {
[tokeniser appendData:data_];

for (;;) {
Expand Down Expand Up @@ -254,10 +253,6 @@ - (SBJsonStreamParserStatus)parse:(NSData *)data_ {
}
}
return SBJsonStreamParserComplete;

}
@finally {
[pool drain];
}
}

Expand Down
4 changes: 2 additions & 2 deletions SBJson.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,7 @@
FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks";
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_ENABLE_OBJC_GC = required;
GCC_ENABLE_OBJC_GC = supported;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SBJsonTests/SBJsonTests-Prefix.pch";
INFOPLIST_FILE = "SBJsonTests/SBJsonTests-Info.plist";
Expand All @@ -799,7 +799,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks";
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_ENABLE_OBJC_GC = required;
GCC_ENABLE_OBJC_GC = supported;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "SBJsonTests/SBJsonTests-Prefix.pch";
INFOPLIST_FILE = "SBJsonTests/SBJsonTests-Info.plist";
Expand Down

0 comments on commit 037d3d1

Please sign in to comment.