aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/include
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-10-31 10:04:51 -0400
committervslashg <gfalcon@google.com>2019-10-31 15:11:41 -0400
commit2db3df9c4f825591dfce2d6909cebe4a3f073910 (patch)
treeb334848bedc3d4a3d55a62f3a93009b9fe73c809 /googlemock/include
parente2fc3a9c9cb8188c841a07ee59c01d1b2afd8622 (diff)
downloadgoogletest-2db3df9c4f825591dfce2d6909cebe4a3f073910.tar.gz
googletest-2db3df9c4f825591dfce2d6909cebe4a3f073910.tar.bz2
googletest-2db3df9c4f825591dfce2d6909cebe4a3f073910.zip
Googletest export
Change variable name to match comment. PiperOrigin-RevId: 277713621
Diffstat (limited to 'googlemock/include')
-rw-r--r--googlemock/include/gmock/gmock-actions.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/googlemock/include/gmock/gmock-actions.h b/googlemock/include/gmock/gmock-actions.h
index 2fe7574a..b040004a 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.