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
7f1c0f6f
Commit
7f1c0f6f
authored
May 23, 2019
by
gennadiycivil
Browse files
Merge pull request #2260 from 741g:master
PiperOrigin-RevId: 249660276
parents
88f04930
2f58f41d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/src/gtest.cc
googletest/src/gtest.cc
+1
-1
No files found.
googletest/src/gtest.cc
View file @
7f1c0f6f
...
...
@@ -1691,7 +1691,7 @@ AssertionResult HRESULTFailureHelper(const char* expr,
char
error_text
[
kBufSize
]
=
{
'\0'
};
DWORD
message_length
=
::
FormatMessageA
(
kFlags
,
0
,
// no source, we're asking system
hr
,
// the error
static_cast
<
DWORD
>
(
hr
)
,
// the error
0
,
// no line width restrictions
error_text
,
// output buffer
kBufSize
,
// buf size
...
...
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