Skip to content

Commit c4662ad

Browse files
georgthegreatblinkov
authored andcommitted
Update macOS SDK to XCode 16.2
commit_hash:83e3fda2d8ef984a8105effdc3e7849e97105e96
1 parent 1d94190 commit c4662ad

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

contrib/restricted/googletest/googletest/include/gtest/gtest-printers.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,11 @@ void PrintTo(const ::std::pair<T1, T2>& value, ::std::ostream* os) {
829829
*os << ')';
830830
}
831831

832+
template <typename C, typename D>
833+
void PrintTo(const ::std::chrono::time_point<C, D>& value, ::std::ostream* os) {
834+
*os << "TimeStamp(" << static_cast<int64_t>(value.time_since_epoch().count()) << ")";
835+
}
836+
832837
// Implements printing a non-reference type T by letting the compiler
833838
// pick the right overload of PrintTo() for T.
834839
template <typename T>

0 commit comments

Comments
 (0)