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
aadf53d2
Commit
aadf53d2
authored
Aug 08, 2017
by
Gennadiy Civil
Committed by
GitHub
Aug 08, 2017
Browse files
Merge pull request #1122 from chromy/upstream-146491438
Fixed misspelling in assertion message.
parents
6ae9cc78
24054ff0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googlemock/include/gmock/gmock-matchers.h
googlemock/include/gmock/gmock-matchers.h
+1
-1
No files found.
googlemock/include/gmock/gmock-matchers.h
View file @
aadf53d2
...
@@ -646,7 +646,7 @@ class SafeMatcherCastImpl {
...
@@ -646,7 +646,7 @@ class SafeMatcherCastImpl {
// type U.
// type U.
GTEST_COMPILE_ASSERT_
(
GTEST_COMPILE_ASSERT_
(
internal
::
is_reference
<
T
>::
value
||
!
internal
::
is_reference
<
U
>::
value
,
internal
::
is_reference
<
T
>::
value
||
!
internal
::
is_reference
<
U
>::
value
,
cannot_convert_non_referen
t
ce_arg_to_reference
);
cannot_convert_non_reference_arg_to_reference
);
// In case both T and U are arithmetic types, enforce that the
// In case both T and U are arithmetic types, enforce that the
// conversion is not lossy.
// conversion is not lossy.
typedef
GTEST_REMOVE_REFERENCE_AND_CONST_
(
T
)
RawT
;
typedef
GTEST_REMOVE_REFERENCE_AND_CONST_
(
T
)
RawT
;
...
...
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