From 28eb4e6831705197749ea15591133fb412726698 Mon Sep 17 00:00:00 2001 From: Yury Melnichek Date: Tue, 24 May 2011 23:02:45 +0200 Subject: [PATCH] Fix compilation on Mac. --- platform/wifi_info_mac.mm | 4 ++-- 1 file 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); }