Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
aa2e91fd
Unverified
Commit
aa2e91fd
authored
Jul 21, 2022
by
Yuriy Chernyshov
Committed by
GitHub
Jul 21, 2022
Browse files
Continuation for #3183
Some of the #ifdefs were missed in original PR. Should be fixed now.
parent
7735334a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
googletest/include/gtest/gtest-printers.h
googletest/include/gtest/gtest-printers.h
+2
-2
No files found.
googletest/include/gtest/gtest-printers.h
View file @
aa2e91fd
...
...
@@ -384,7 +384,7 @@ GTEST_IMPL_FORMAT_C_STRING_AS_POINTER_(const char32_t);
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_
(
char
,
::
std
::
string
);
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_
(
const
char
,
::
std
::
string
);
#ifdef __cpp_char8_t
#ifdef __cpp_
lib_
char8_t
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_
(
char8_t
,
::
std
::
u8string
);
GTEST_IMPL_FORMAT_C_STRING_AS_STRING_
(
const
char8_t
,
::
std
::
u8string
);
#endif
...
...
@@ -556,7 +556,7 @@ inline void PrintTo(const ::std::string& s, ::std::ostream* os) {
}
// Overloads for ::std::u8string
#ifdef __cpp_char8_t
#ifdef __cpp_
lib_
char8_t
GTEST_API_
void
PrintU8StringTo
(
const
::
std
::
u8string
&
s
,
::
std
::
ostream
*
os
);
inline
void
PrintTo
(
const
::
std
::
u8string
&
s
,
::
std
::
ostream
*
os
)
{
PrintU8StringTo
(
s
,
os
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment