Permalink
Browse files

Fixed compiler warning under Xcode 4.2

Xcode 4.2 still needs explicitly declared _ivar. Fixes #220
  • Loading branch information...
1 parent 1000f0b commit 9ab842702ae04ba2fc2b9d73fe140a9d1c78b1b0 @odrobnik odrobnik committed Sep 17, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 Core/Source/DTLazyImageView.m
View
9 Core/Source/DTLazyImageView.m
@@ -19,6 +19,7 @@ - (void)notify;
@implementation DTLazyImageView
{
NSURL *_url;
+ NSMutableURLRequest *_urlRequest;
NSURLConnection *_connection;
NSMutableData *_receivedData;
@@ -280,13 +281,13 @@ - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)err
#pragma mark Properties
-@synthesize url = _url;
-@synthesize shouldShowProgressiveDownload;
-@synthesize urlRequest = _urlRequest;
-
- (void) setUrlRequest:(NSMutableURLRequest *)request {
_urlRequest = request;
self.url = [_urlRequest URL];
}
+@synthesize url = _url;
+@synthesize shouldShowProgressiveDownload;
+@synthesize urlRequest = _urlRequest;
+
@end

0 comments on commit 9ab8427

Please sign in to comment.