summaryrefslogtreecommitdiff
path: root/src/mbgl/util/stopwatch.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/util/stopwatch.hpp')
-rw-r--r--src/mbgl/util/stopwatch.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/util/stopwatch.hpp b/src/mbgl/util/stopwatch.hpp
index bfa384c07e..57807afa76 100644
--- a/src/mbgl/util/stopwatch.hpp
+++ b/src/mbgl/util/stopwatch.hpp
@@ -2,9 +2,9 @@
#define MBGL_UTIL_STOPWATCH
#include <mbgl/platform/event.hpp>
+#include <mbgl/util/chrono.hpp>
#include <string>
-#include <chrono>
namespace mbgl {
namespace util {
@@ -23,7 +23,7 @@ private:
const std::string name;
EventSeverity severity = EventSeverity::Debug;
Event event = Event::General;
- std::chrono::steady_clock::time_point start;
+ TimePoint start;
};
#else
class stopwatch {