Googletest export

Use the time_point from steady_clock instead of the template
This fixes the build on some embedded compilers

PiperOrigin-RevId: 368879480
This commit is contained in:
dmauro 2021-04-16 10:58:03 -07:00 committed by Dino Radaković
parent 831bc03504
commit eaf9a3fd77

View File

@ -1044,7 +1044,7 @@ class Timer {
} }
private: 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 // Returns a timestamp as milliseconds since the epoch. Note this time may jump