diff options
author | Alex Zolotarev <alex@mapswithme.com> | 2013-07-01 17:37:17 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:57:49 +0300 |
commit | 39124ffadb3dccc3fbbfd21ef6b3937fded78694 (patch) | |
tree | 7976cc22c336b1a0e6b208e317112c12b7bed43a /iphone | |
parent | 5846458fb6bc9e27854deeadb9361ae5e30bf644 (diff) |
[ios] Minor refactoring
Diffstat (limited to 'iphone')
-rw-r--r-- | iphone/Maps/Classes/PlacePreviewViewController.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/PlacePreviewViewController.mm b/iphone/Maps/Classes/PlacePreviewViewController.mm index fb494ae808..d8c4ec452d 100644 --- a/iphone/Maps/Classes/PlacePreviewViewController.mm +++ b/iphone/Maps/Classes/PlacePreviewViewController.mm @@ -285,8 +285,7 @@ typedef enum {APIPOINT, POI, MYPOSITION} Type; -(NSURL *)getBackUrl { string const str = GetFramework().GenerateApiBackUrl(m_apiPoint); - NSURL * backUrl = [NSURL URLWithString:[NSString stringWithUTF8String:str.c_str()]]; - return backUrl; + return [NSURL URLWithString:[NSString stringWithUTF8String:str.c_str()]]; } -(void)orientationChanged |