From eaf9a3fd77869cf95befb87455a2e2a2e85044ff Mon Sep 17 00:00:00 2001 From: dmauro Date: Fri, 16 Apr 2021 10:58:03 -0700 Subject: [PATCH] Googletest export Use the time_point from steady_clock instead of the template This fixes the build on some embedded compilers PiperOrigin-RevId: 368879480 --- googletest/src/gtest.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc index d607d53b..2e340118 100644 --- a/googletest/src/gtest.cc +++ b/googletest/src/gtest.cc @@ -1044,7 +1044,7 @@ class Timer { } private: - std::chrono::time_point start_; + std::chrono::steady_clock::time_point start_; }; // Returns a timestamp as milliseconds since the epoch. Note this time may jump