summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2016-01-23 14:47:17 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2016-01-25 15:11:18 +0200
commit2f86467586706d254fcbcb1c88657992214aefcd (patch)
tree97c34a7c1589ba32cc981b47792983d057c3b996 /include
parentcc47da5a15650c3f8ede9f7e253e4099dc61673f (diff)
downloadqtlocation-mapboxgl-2f86467586706d254fcbcb1c88657992214aefcd.tar.gz
Cleanup std::chrono usage
Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/map/map.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp
index feb457758e..84af449fac 100644
--- a/include/mbgl/map/map.hpp
+++ b/include/mbgl/map/map.hpp
@@ -125,8 +125,8 @@ public:
void setBearing(double degrees, const PrecisionPoint&, const Duration& = Duration::zero());
void setBearing(double degrees, const EdgeInsets&, const Duration& = Duration::zero());
double getBearing() const;
- void resetNorth(const Duration& = std::chrono::milliseconds(500));
- void resetNorth(const EdgeInsets&, const Duration& = std::chrono::milliseconds(500));
+ void resetNorth(const Duration& = Milliseconds(500));
+ void resetNorth(const EdgeInsets&, const Duration& = Milliseconds(500));
// Pitch
void setPitch(double pitch, const Duration& = Duration::zero());