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)}; }