File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
tests/testing-resources/include/aws/external/gtest Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -470,11 +470,15 @@ GTEST_API_ void PrintTo(wchar_t wc, ::std::ostream* os);
470
470
471
471
GTEST_API_ void PrintTo (char32_t c, ::std::ostream* os);
472
472
inline void PrintTo (char16_t c, ::std::ostream* os) {
473
- PrintTo (ImplicitCast_<char32_t >(c), os);
473
+ // TODO(b/418738869): Incorrect for values not representing valid codepoints.
474
+ // Also see https://github.com/google/googletest/issues/4762.
475
+ PrintTo (static_cast <char32_t >(c), os);
474
476
}
475
477
#ifdef __cpp_lib_char8_t
476
478
inline void PrintTo (char8_t c, ::std::ostream* os) {
477
- PrintTo (ImplicitCast_<char32_t >(c), os);
479
+ // TODO(b/418738869): Incorrect for values not representing valid codepoints.
480
+ // Also see https://github.com/google/googletest/issues/4762.
481
+ PrintTo (static_cast <char32_t >(c), os);
478
482
}
479
483
#endif
480
484
You can’t perform that action at this time.
0 commit comments