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
2db3df9c
Commit
2db3df9c
authored
Oct 31, 2019
by
Abseil Team
Committed by
vslashg
Oct 31, 2019
Browse files
Googletest export
Change variable name to match comment. PiperOrigin-RevId: 277713621
parent
e2fc3a9c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
googlemock/include/gmock/gmock-actions.h
googlemock/include/gmock/gmock-actions.h
+4
-4
No files found.
googlemock/include/gmock/gmock-actions.h
View file @
2db3df9c
...
...
@@ -1098,14 +1098,14 @@ inline internal::DoDefaultAction DoDefault() {
// Creates an action that sets the variable pointed by the N-th
// (0-based) function argument to 'value'.
template
<
size_t
N
,
typename
T
>
internal
::
SetArgumentPointeeAction
<
N
,
T
>
SetArgPointee
(
T
x
)
{
return
{
std
::
move
(
x
)};
internal
::
SetArgumentPointeeAction
<
N
,
T
>
SetArgPointee
(
T
value
)
{
return
{
std
::
move
(
value
)};
}
// The following version is DEPRECATED.
template
<
size_t
N
,
typename
T
>
internal
::
SetArgumentPointeeAction
<
N
,
T
>
SetArgumentPointee
(
T
x
)
{
return
{
std
::
move
(
x
)};
internal
::
SetArgumentPointeeAction
<
N
,
T
>
SetArgumentPointee
(
T
value
)
{
return
{
std
::
move
(
value
)};
}
// Creates an action that sets a pointer referent to a given value.
...
...
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