diff options
Diffstat (limited to 'test/storage/http_header_parsing.cpp')
-rw-r--r-- | test/storage/http_header_parsing.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/storage/http_header_parsing.cpp b/test/storage/http_header_parsing.cpp index 271460387c..e4d86fcc27 100644 --- a/test/storage/http_header_parsing.cpp +++ b/test/storage/http_header_parsing.cpp @@ -3,6 +3,7 @@ #include <uv.h> #include <mbgl/storage/default_file_source.hpp> +#include <mbgl/util/chrono.hpp> #include <cmath> @@ -29,7 +30,7 @@ TEST_F(Storage, HTTPHeaderParsing) { }); int64_t now = std::chrono::duration_cast<std::chrono::seconds>( - std::chrono::system_clock::now().time_since_epoch()).count(); + SystemClock::now().time_since_epoch()).count(); fs.request({ Resource::Unknown, "http://127.0.0.1:3000/test?cachecontrol=max-age=120" }, uv_default_loop(), env, [&](const Response &res) { |