Add __autoreleasing to NSError
This commit is contained in:
39 files changed
+44
-44
No files matched your search
@@ -11,7 +11,7 @@
|
||||
|
||||
@implementation MP42XMLReader
|
||||
|
||||
- (instancetype)initWithURL:(NSURL *)url error:(NSError **)error
|
||||
- (instancetype)initWithURL:(NSURL *)url error:(NSError * __autoreleasing *)error
|
||||
{
|
||||
if (self = [super init]) {
|
||||
NSXMLDocument *xml = [[NSXMLDocument alloc] initWithContentsOfURL:url options:0 error:NULL];
|
||||
|
||||
Reference in new issue
Block a user