From 88c1443447f07c644d73ac63e12cd4d0ead6d865 Mon Sep 17 00:00:00 2001 From: Krystian Kuzniarek Date: Wed, 29 Jan 2020 11:39:45 +0100 Subject: [PATCH] rename SetArgumentPointeeAction to match its factory function of SetArgPointee --- googlemock/include/gmock/gmock-actions.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/googlemock/include/gmock/gmock-actions.h b/googlemock/include/gmock/gmock-actions.h index 6454e6f4..23fea692 100644 --- a/googlemock/include/gmock/gmock-actions.h +++ b/googlemock/include/gmock/gmock-actions.h @@ -896,7 +896,7 @@ class SetErrnoAndReturnAction { // Implements the SetArgPointee(x) action for any function // whose N-th argument (0-based) is a pointer to x's type. template -struct SetArgumentPointeeAction { +struct SetArgPointeeAction { A value; template @@ -1193,7 +1193,7 @@ inline internal::DoDefaultAction DoDefault() { // Creates an action that sets the variable pointed by the N-th // (0-based) function argument to 'value'. template -internal::SetArgumentPointeeAction SetArgPointee(T value) { +internal::SetArgPointeeAction SetArgPointee(T value) { return {std::move(value)}; }