rename SetArgumentPointeeAction to match its factory function of SetArgPointee

This commit is contained in:
Krystian Kuzniarek 2020-01-29 11:39:45 +01:00
parent 9425457d28
commit 88c1443447

View File

@ -896,7 +896,7 @@ class SetErrnoAndReturnAction {
// Implements the SetArgPointee<N>(x) action for any function
// whose N-th argument (0-based) is a pointer to x's type.
template <size_t N, typename A, typename = void>
struct SetArgumentPointeeAction {
struct SetArgPointeeAction {
A value;
template <typename... Args>
@ -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 <size_t N, typename T>
internal::SetArgumentPointeeAction<N, T> SetArgPointee(T value) {
internal::SetArgPointeeAction<N, T> SetArgPointee(T value) {
return {std::move(value)};
}