diff options
author | Yury Melnichek <melnichek@gmail.com> | 2011-05-25 01:02:45 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:17:57 +0300 |
commit | 28eb4e6831705197749ea15591133fb412726698 (patch) | |
tree | 9cefdaa1a6152648773bb196b9e845661fa855d6 /platform/wifi_info_mac.mm | |
parent | 4564e25c9dd76b5ec271f16174b5d73806bd4a4b (diff) |
Fix compilation on Mac.
Diffstat (limited to 'platform/wifi_info_mac.mm')
-rw-r--r-- | platform/wifi_info_mac.mm | 4 |
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); } |