diff options
Diffstat (limited to 'Foundation/GTMURITemplate.m')
-rw-r--r-- | Foundation/GTMURITemplate.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Foundation/GTMURITemplate.m b/Foundation/GTMURITemplate.m index 7721d84..5938b72 100644 --- a/Foundation/GTMURITemplate.m +++ b/Foundation/GTMURITemplate.m @@ -15,8 +15,6 @@ #import "GTMURITemplate.h" -#import "GTMDefines.h" - #if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 // Key constants for handling variables. @@ -63,7 +61,7 @@ static NSString *EscapeString(NSString *str, BOOL allowReserved) { forceEscapedChars, kCFStringEncodingUTF8); if (escapedStr) { - resultStr = GTMCFAutorelease(escapedStr); + resultStr = [(NSString *)escapedStr autorelease]; } return resultStr; } |