From 26cdf6f3472feb8064c009f5e0124a1e5f8d6b4d Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Mon, 9 May 2011 15:17:44 +0300 Subject: [PATCH] [ios] Fixed build error --- platform/apple_location_service.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/apple_location_service.mm b/platform/apple_location_service.mm index 4df406cef5..ce65bc3b97 100644 --- a/platform/apple_location_service.mm +++ b/platform/apple_location_service.mm @@ -161,7 +161,7 @@ public: newInfo.m_x = newHeading.x; newInfo.m_y = newHeading.y; newInfo.m_z = newHeading.z; - newInfo.m_timestamp = [location.timestamp timeIntervalSince1970]; + newInfo.m_timestamp = [newHeading.timestamp timeIntervalSince1970]; m_service->OnHeadingUpdate(newInfo); } #endif