summaryrefslogtreecommitdiffstats
path: root/googletest/src
diff options
context:
space:
mode:
authorCopybara-Service <copybara-worker@google.com>2023-03-17 18:58:34 (GMT)
committerCopybara-Service <copybara-worker@google.com>2023-03-17 18:58:34 (GMT)
commit837f2229a905f44678fd6dc9af83f9a9f08e4a8f (patch)
tree2a405bfc0c8d5261a53fe35494634dc135cab9b0 /googletest/src
parente49c6b946a44f9a58586bfc76f75687d8f77e725 (diff)
parent92f0d72507801f2d47533bfb2ad8960d93ed0224 (diff)
downloadgoogletest-837f2229a905f44678fd6dc9af83f9a9f08e4a8f.zip
googletest-837f2229a905f44678fd6dc9af83f9a9f08e4a8f.tar.gz
googletest-837f2229a905f44678fd6dc9af83f9a9f08e4a8f.tar.bz2
Merge pull request #4182 from venik:venik-char8-lib-fix
PiperOrigin-RevId: 517470997 Change-Id: I12b079dc1536f136dd0514871fe79f9678b1fd6a
Diffstat (limited to 'googletest/src')
-rw-r--r--googletest/src/gtest-printers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googletest/src/gtest-printers.cc b/googletest/src/gtest-printers.cc
index d475ad3..de740e7 100644
--- a/googletest/src/gtest-printers.cc
+++ b/googletest/src/gtest-printers.cc
@@ -528,7 +528,7 @@ void PrintStringTo(const ::std::string& s, ostream* os) {
}
}
-#ifdef __cpp_char8_t
+#ifdef __cpp_lib_char8_t
void PrintU8StringTo(const ::std::u8string& s, ostream* os) {
PrintCharsAsStringTo(s.data(), s.size(), os);
}