Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
2db3df9c
Commit
2db3df9c
authored
Oct 31, 2019
by
Abseil Team
Committed by
vslashg
Oct 31, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Change variable name to match comment. PiperOrigin-RevId: 277713621
parent
e2fc3a9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
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