diff options
author | Abseil Team <absl-team@google.com> | 2021-04-16 20:58:03 +0300 |
---|---|---|
committer | Dino Radaković <dinor@google.com> | 2021-04-16 23:53:47 +0300 |
commit | 0b4801b83e265791281015e421a2c683c8e5433d (patch) | |
tree | 69cc477ddae6a48d530618193540ec4b9a20c9ed | |
parent | 831bc03504b0946929bb05dcb323e3b2dc3d2bd5 (diff) |
Export Test - Do Not Merge03997842F1AD7E510E28CBC0908AB431
Googletest export
Use the time_point from steady_clock instead of the template
This fixes the build on some embedded compilers
PiperOrigin-RevId: 368879480
Change-Id: I5f61269b52a8040c8698bbc9a28b34d21696ca1c
GitOrigin-RevId: a7bc22f9e177e878385ad4780b32eb83e3efbaad
-rw-r--r-- | googletest/src/gtest.cc | 2 |
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 |