summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordmauro <dmauro@google.com>2021-04-16 10:58:03 -0700
committerDino Radaković <dinor@google.com>2021-04-16 17:33:13 -0700
commiteaf9a3fd77869cf95befb87455a2e2a2e85044ff (patch)
tree69cc477ddae6a48d530618193540ec4b9a20c9ed
parent831bc03504b0946929bb05dcb323e3b2dc3d2bd5 (diff)
downloadgoogletest-eaf9a3fd77869cf95befb87455a2e2a2e85044ff.tar.gz
googletest-eaf9a3fd77869cf95befb87455a2e2a2e85044ff.zip
Googletest export
Use the time_point from steady_clock instead of the template This fixes the build on some embedded compilers PiperOrigin-RevId: 368879480
-rw-r--r--googletest/src/gtest.cc2
1 files changed, 1 insertions, 1 deletions
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<std::chrono::steady_clock> start_;
+ std::chrono::steady_clock::time_point start_;
};
// Returns a timestamp as milliseconds since the epoch. Note this time may jump
OpenPOWER on IntegriCloud