summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-20 12:38:09 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2020-03-23 20:05:40 +0200
commit76b99eb8e8f0138a1020b01e45bf8fd859051b1c (patch)
treeede19005391751d4e3872a2d4281598ffa2c73d3 /platform
parent23a248eacd629cd1454dd162e9bb6e7e4abe4da6 (diff)
downloadqtlocation-mapboxgl-76b99eb8e8f0138a1020b01e45bf8fd859051b1c.tar.gz
[core] Fix modernize-deprecated-headers errors
As reported by clang-tidy-8.
Diffstat (limited to 'platform')
-rw-r--r--platform/default/src/mbgl/util/monotonic_timer.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/platform/default/src/mbgl/util/monotonic_timer.cpp b/platform/default/src/mbgl/util/monotonic_timer.cpp
index 43c2ce6717..55184f4465 100644
--- a/platform/default/src/mbgl/util/monotonic_timer.cpp
+++ b/platform/default/src/mbgl/util/monotonic_timer.cpp
@@ -1,7 +1,8 @@
-#include <assert.h>
-#include <chrono>
#include <mbgl/util/monotonic_timer.hpp>
+#include <cassert>
+#include <chrono>
+
namespace mbgl {
namespace util {
@@ -21,4 +22,4 @@ std::chrono::duration<double> MonotonicTimer::now() {
}
} // namespace util
-} // namespace mbgl \ No newline at end of file
+} // namespace mbgl