[iPhone] Minor warning fix

This commit is contained in:
Alex Zolotarev 2011-03-20 03:52:15 +00:00 committed by Alex Zolotarev
parent bd3d2b328a
commit aef7365bca

View file

@ -36,7 +36,7 @@
{
active = YES;
[m_locationManager startUpdatingLocation];
if ([m_locationManager headingAvailable])
if ([CLLocationManager headingAvailable])
{
m_locationManager.headingFilter = 1;
[m_locationManager startUpdatingHeading];