summaryrefslogtreecommitdiffstats
path: root/googletest/src
diff options
context:
space:
mode:
authordmauro <dmauro@google.com>2021-04-16 17:58:03 (GMT)
committerDino Radaković <dinor@google.com>2021-04-17 00:33:13 (GMT)
commiteaf9a3fd77869cf95befb87455a2e2a2e85044ff (patch)
tree69cc477ddae6a48d530618193540ec4b9a20c9ed /googletest/src
parent831bc03504b0946929bb05dcb323e3b2dc3d2bd5 (diff)
downloadgoogletest-eaf9a3fd77869cf95befb87455a2e2a2e85044ff.zip
googletest-eaf9a3fd77869cf95befb87455a2e2a2e85044ff.tar.gz
googletest-eaf9a3fd77869cf95befb87455a2e2a2e85044ff.tar.bz2
Googletest export
Use the time_point from steady_clock instead of the template This fixes the build on some embedded compilers PiperOrigin-RevId: 368879480
Diffstat (limited to 'googletest/src')
-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 d607d53..2e34011 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