Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
a3c9bb99
Commit
a3c9bb99
authored
Jan 15, 2021
by
Derek Mauro
Browse files
Merge pull request #3206 from davidben:format-attr-2
PiperOrigin-RevId: 351812507
parents
a2f906be
28041f64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
googletest/src/gtest.cc
googletest/src/gtest.cc
+2
-1
No files found.
googletest/src/gtest.cc
View file @
a3c9bb99
...
...
@@ -3269,7 +3269,8 @@ bool ShouldUseColor(bool stdout_is_tty) {
// This routine must actually emit the characters rather than return a string
// that would be colored when printed, as can be done on Linux.
static
void
ColoredPrintf
(
GTestColor
color
,
const
char
*
fmt
,
...)
{
GTEST_ATTRIBUTE_PRINTF_
(
2
,
3
)
static
void
ColoredPrintf
(
GTestColor
color
,
const
char
*
fmt
,
...)
{
va_list
args
;
va_start
(
args
,
fmt
);
...
...
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