rename SetArgumentPointeeAction to match its factory function of SetArgPointee
This commit is contained in:
parent
9425457d28
commit
88c1443447
@ -896,7 +896,7 @@ class SetErrnoAndReturnAction {
|
|||||||
// Implements the SetArgPointee<N>(x) action for any function
|
// Implements the SetArgPointee<N>(x) action for any function
|
||||||
// whose N-th argument (0-based) is a pointer to x's type.
|
// whose N-th argument (0-based) is a pointer to x's type.
|
||||||
template <size_t N, typename A, typename = void>
|
template <size_t N, typename A, typename = void>
|
||||||
struct SetArgumentPointeeAction {
|
struct SetArgPointeeAction {
|
||||||
A value;
|
A value;
|
||||||
|
|
||||||
template <typename... Args>
|
template <typename... Args>
|
||||||
@ -1193,7 +1193,7 @@ inline internal::DoDefaultAction DoDefault() {
|
|||||||
// Creates an action that sets the variable pointed by the N-th
|
// Creates an action that sets the variable pointed by the N-th
|
||||||
// (0-based) function argument to 'value'.
|
// (0-based) function argument to 'value'.
|
||||||
template <size_t N, typename T>
|
template <size_t N, typename T>
|
||||||
internal::SetArgumentPointeeAction<N, T> SetArgPointee(T value) {
|
internal::SetArgPointeeAction<N, T> SetArgPointee(T value) {
|
||||||
return {std::move(value)};
|
return {std::move(value)};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user