Skip to content

Commit 949aa30

Browse files
committedOct 31, 2011
Fixed compilation error in non-ARC mode
1 parent 4bf658d commit 949aa30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Client Logger/iOS/LoggerClient.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
#define CAST_TO_CFSTRING CFStringRef
132132
#define CAST_TO_CFDATA CFDataRef
133133
#define RELEASE(obj) [obj release]
134-
#define AUTORELEASE_POOL_BEGIN NSAutoreleasePool __pool=[[NSAutoreleasePool alloc] init];
134+
#define AUTORELEASE_POOL_BEGIN NSAutoreleasePool *__pool=[[NSAutoreleasePool alloc] init];
135135
#define AUTORELEASE_POOL_END [__pool drain];
136136
#endif
137137
#undef LOGGER_ARC_MACROS_DEFINED

0 commit comments

Comments
 (0)
Please sign in to comment.