diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2015-02-23 13:50:04 -0800 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-02-23 13:50:04 -0800 |
commit | 6565836a25e547092598bbd362cced61760e2693 (patch) | |
tree | 080f6fae424f17b139616d005a0af681e059e4c4 /platform | |
parent | d5b8d57a7f6ce86b93c9d0ba527d285fb59821ad (diff) | |
download | qtlocation-mapboxgl-6565836a25e547092598bbd362cced61760e2693.tar.gz |
Fixed new clang errors in Xcode 6.3b2
Diffstat (limited to 'platform')
-rw-r--r-- | platform/ios/MGLMapView.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm index a83fcdb93b..70f345dd9c 100644 --- a/platform/ios/MGLMapView.mm +++ b/platform/ios/MGLMapView.mm @@ -646,7 +646,7 @@ mbgl::DefaultFileSource *mbglFileSource = nullptr; // constrain to +/-30 degrees when merely rotating like Apple does // - if ( ! self.isRotationAllowed && fabsf(self.pinch.scale) < 10) + if ( ! self.isRotationAllowed && std::abs(self.pinch.scale) < 10) { newDegrees = fminf(newDegrees, 30); newDegrees = fmaxf(newDegrees, -30); |