summaryrefslogtreecommitdiff
path: root/include/mbgl/map/view.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-04-01 14:05:37 -0700
committerKonstantin Käfer <mail@kkaefer.com>2015-04-02 12:28:12 +0200
commit9331acf8e68e428e70c1f73ccb90147e71c586fd (patch)
treedf0d36b3192e96f11817ca9caa490e7075a96eeb /include/mbgl/map/view.hpp
parent440864063e916e92eed1b1fe15453e067cbf2781 (diff)
downloadqtlocation-mapboxgl-9331acf8e68e428e70c1f73ccb90147e71c586fd.tar.gz
Add typedefs for std::chrono::steady_clock types
Diffstat (limited to 'include/mbgl/map/view.hpp')
-rw-r--r--include/mbgl/map/view.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/map/view.hpp b/include/mbgl/map/view.hpp
index bcfeb62cfc..9b29227d8b 100644
--- a/include/mbgl/map/view.hpp
+++ b/include/mbgl/map/view.hpp
@@ -1,7 +1,7 @@
#ifndef MBGL_MAP_VIEW
#define MBGL_MAP_VIEW
-#include <chrono>
+#include <mbgl/util/chrono.hpp>
namespace mbgl {
@@ -45,7 +45,7 @@ public:
// Must not be called from the render thread.
virtual void notifyMapChange(
MapChange change,
- std::chrono::steady_clock::duration delay = std::chrono::steady_clock::duration::zero());
+ Duration delay = Duration::zero());
protected:
// Resizes the view