From 9331acf8e68e428e70c1f73ccb90147e71c586fd Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 1 Apr 2015 14:05:37 -0700 Subject: Add typedefs for std::chrono::steady_clock types --- test/storage/http_header_parsing.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test') 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 #include +#include #include @@ -29,7 +30,7 @@ TEST_F(Storage, HTTPHeaderParsing) { }); int64_t now = std::chrono::duration_cast( - 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) { -- cgit v1.2.1