Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Melnichek <melnichek@gmail.com>2011-05-25 01:02:45 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:17:57 +0300
commit28eb4e6831705197749ea15591133fb412726698 (patch)
tree9cefdaa1a6152648773bb196b9e845661fa855d6 /platform/wifi_info_mac.mm
parent4564e25c9dd76b5ec271f16174b5d73806bd4a4b (diff)
Fix compilation on Mac.
Diffstat (limited to 'platform/wifi_info_mac.mm')
-rw-r--r--platform/wifi_info_mac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/wifi_info_mac.mm b/platform/wifi_info_mac.mm
index 844d1c2dbe..ad38597cf9 100644
--- a/platform/wifi_info_mac.mm
+++ b/platform/wifi_info_mac.mm
@@ -67,14 +67,14 @@ static string AppendZeroIfNeeded(string const & macAddrPart)
string const rawBssid = [net.bssid UTF8String];
if (!rawBssid.empty())
{
- strings::TokenizeIterator tokIt(rawBssid, ":");
+ strings::SimpleTokenizer tokIt(rawBssid, ":");
apn.m_bssid = AppendZeroIfNeeded(*tokIt);
do
{
++tokIt;
apn.m_bssid += "-";
apn.m_bssid += AppendZeroIfNeeded(*tokIt);
- } while (!tokIt.is_last());
+ } while (!tokIt.IsLast());
}
m_accessPoints.push_back(apn);
}