Googletest export
Change variable name to match comment. PiperOrigin-RevId: 277713621
This commit is contained in:
parent
e2fc3a9c9c
commit
2db3df9c4f
@ -1098,14 +1098,14 @@ inline internal::DoDefaultAction DoDefault() {
|
|||||||
// Creates an action that sets the variable pointed by the N-th
|
// Creates an action that sets the variable pointed by the N-th
|
||||||
// (0-based) function argument to 'value'.
|
// (0-based) function argument to 'value'.
|
||||||
template <size_t N, typename T>
|
template <size_t N, typename T>
|
||||||
internal::SetArgumentPointeeAction<N, T> SetArgPointee(T x) {
|
internal::SetArgumentPointeeAction<N, T> SetArgPointee(T value) {
|
||||||
return {std::move(x)};
|
return {std::move(value)};
|
||||||
}
|
}
|
||||||
|
|
||||||
// The following version is DEPRECATED.
|
// The following version is DEPRECATED.
|
||||||
template <size_t N, typename T>
|
template <size_t N, typename T>
|
||||||
internal::SetArgumentPointeeAction<N, T> SetArgumentPointee(T x) {
|
internal::SetArgumentPointeeAction<N, T> SetArgumentPointee(T value) {
|
||||||
return {std::move(x)};
|
return {std::move(value)};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Creates an action that sets a pointer referent to a given value.
|
// Creates an action that sets a pointer referent to a given value.
|
||||||
|
Loading…
Reference in New Issue
Block a user