diff options
author | Abseil Team <absl-team@google.com> | 2019-10-31 14:04:51 (GMT) |
---|---|---|
committer | vslashg <gfalcon@google.com> | 2019-10-31 19:11:41 (GMT) |
commit | 2db3df9c4f825591dfce2d6909cebe4a3f073910 (patch) | |
tree | b334848bedc3d4a3d55a62f3a93009b9fe73c809 | |
parent | e2fc3a9c9cb8188c841a07ee59c01d1b2afd8622 (diff) | |
download | googletest-2db3df9c4f825591dfce2d6909cebe4a3f073910.zip googletest-2db3df9c4f825591dfce2d6909cebe4a3f073910.tar.gz googletest-2db3df9c4f825591dfce2d6909cebe4a3f073910.tar.bz2 |
Googletest export
Change variable name to match comment.
PiperOrigin-RevId: 277713621
-rw-r--r-- | googlemock/include/gmock/gmock-actions.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/googlemock/include/gmock/gmock-actions.h b/googlemock/include/gmock/gmock-actions.h index 2fe7574..b040004 100644 --- a/googlemock/include/gmock/gmock-actions.h +++ b/googlemock/include/gmock/gmock-actions.h @@ -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. |