"examples/vision/vscode:/vscode.git/clone" did not exist on "98229c346e871658f47e92074e6ec3fb9018ee7d"
Commit 2db3df9c authored by Abseil Team's avatar Abseil Team Committed by vslashg
Browse files

Googletest export

Change variable name to match comment.

PiperOrigin-RevId: 277713621
parent e2fc3a9c
...@@ -1098,14 +1098,14 @@ inline internal::DoDefaultAction DoDefault() { ...@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment