summaryrefslogtreecommitdiff
path: root/benchmark/storage/offline_database.benchmark.cpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-08-20 15:52:58 +0300
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-08-20 15:54:13 +0300
commitbcca5d3ac57f17b8d4d34ca8c9172788c8da3dfd (patch)
treed6c066f337e04d651f42c84619edbc0152ab9340 /benchmark/storage/offline_database.benchmark.cpp
parentc42b44197ffa012810c50dfa658cf979b08244d4 (diff)
downloadqtlocation-mapboxgl-upstream/tmpsantos-chrono_overflow.tar.gz
[core] Remove wrapper for std::chrono::system_clock::now()upstream/tmpsantos-chrono_overflow
Better make it explict now that we no longer cast to time_point<Seconds>
Diffstat (limited to 'benchmark/storage/offline_database.benchmark.cpp')
-rw-r--r--benchmark/storage/offline_database.benchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/storage/offline_database.benchmark.cpp b/benchmark/storage/offline_database.benchmark.cpp
index afdf6db4fc..ff4f2b2190 100644
--- a/benchmark/storage/offline_database.benchmark.cpp
+++ b/benchmark/storage/offline_database.benchmark.cpp
@@ -18,7 +18,7 @@ public:
response.data = std::make_shared<std::string>(50 * 1024, 0);
response.mustRevalidate = false;
- response.expires = mbgl::util::now() + 1h;
+ response.expires = mbgl::std::chrono::system_clock::now() + 1h;
resetAmbientTiles();
resetRegion();