diff --git a/TBXML-Code/TBXML.m b/TBXML-Code/TBXML.m index b5b1bec..29a6f6f 100644 --- a/TBXML-Code/TBXML.m +++ b/TBXML-Code/TBXML.m @@ -911,7 +911,7 @@ - (void) dealloc { } } -#ifndef ARC_ENABLED +#if !__has_feature(objc_arc) [super dealloc]; #endif } diff --git a/TBXML-Headers/TBXML.h b/TBXML-Headers/TBXML.h index 36a0f67..f7a9ecf 100644 --- a/TBXML-Headers/TBXML.h +++ b/TBXML-Headers/TBXML.h @@ -207,4 +207,4 @@ typedef void (^TBXMLIterateAttributeBlock)(TBXMLAttribute *attribute, NSString * + (void)iterateAttributesOfElement:(TBXMLElement *)anElement withBlock:(TBXMLIterateAttributeBlock)iterateBlock; -@end +@end \ No newline at end of file