mirror of
https://github.com/google/googletest.git
synced 2025-04-02 18:00:25 +00:00
Add a non-'const' overload for the function invoked by the IgnoreArgs action wrapper.
PiperOrigin-RevId: 738865907 Change-Id: Ia43b297692ddca681bf29fa7547a5a4da330e51a
This commit is contained in:
parent
3af834740f
commit
e7b26b7246
@ -835,6 +835,10 @@ class Action<R(Args...)> {
|
||||
Result operator()(const InArgs&...) const {
|
||||
return function_impl();
|
||||
}
|
||||
template <typename... InArgs>
|
||||
Result operator()(const InArgs&...) {
|
||||
return function_impl();
|
||||
}
|
||||
|
||||
FunctionImpl function_impl;
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user