File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,9 @@ inline test::fuzz::Headers toHeaders(const Http::HeaderMap& headers) {
3636inline TestRequestInfo fromRequestInfo (const test::fuzz::RequestInfo& request_info) {
3737 TestRequestInfo test_request_info;
3838 test_request_info.metadata_ = request_info.dynamic_metadata ();
39- #ifdef __APPLE__
40- // Clocks don't track at nanosecond on OS X.
39+ // libc++ clocks don't track at nanosecond on OS X.
4140 test_request_info.start_time_ =
4241 SystemTime (std::chrono::microseconds (request_info.start_time () / 1000 ));
43- #else
44- test_request_info.start_time_ = SystemTime (std::chrono::nanoseconds (request_info.start_time ()));
45- #endif
4642 if (request_info.has_response_code ()) {
4743 test_request_info.response_code_ = request_info.response_code ().value ();
4844 }
You can’t perform that action at this time.
0 commit comments