diff options
author | Aaron Jacobs <jacobsa@google.com> | 2022-05-02 15:37:04 (GMT) |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-05-02 15:37:49 (GMT) |
commit | 42ca3da5798750c2998dd09b751838227e1f58d3 (patch) | |
tree | 8e1887b2d8aa6e0d8749712014af424785e801d9 /googlemock/include | |
parent | 51767261238513893d0cbd3fe2d7822ea4cf57a9 (diff) | |
download | googletest-42ca3da5798750c2998dd09b751838227e1f58d3.zip googletest-42ca3da5798750c2998dd09b751838227e1f58d3.tar.gz googletest-42ca3da5798750c2998dd09b751838227e1f58d3.tar.bz2 |
gmock-actions: remove a no-longer-necessary friend declaration.
PiperOrigin-RevId: 445940487
Change-Id: I26952a72327db0d308bbe57ca4d1d91a0d7defc8
Diffstat (limited to 'googlemock/include')
-rw-r--r-- | googlemock/include/gmock/gmock-actions.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/googlemock/include/gmock/gmock-actions.h b/googlemock/include/gmock/gmock-actions.h index 578315f..c83a99a 100644 --- a/googlemock/include/gmock/gmock-actions.h +++ b/googlemock/include/gmock/gmock-actions.h @@ -322,9 +322,6 @@ struct is_callable_r_impl<void_t<call_result_t<F, Args...>>, R, F, Args...> template <typename R, typename F, typename... Args> using is_callable_r = is_callable_r_impl<void, R, F, Args...>; -template <typename F> -class TypedExpectation; - // Specialized for function types below. template <typename F> class OnceAction; @@ -441,9 +438,6 @@ class OnceAction<Result(Args...)> final { } private: - // Allow TypedExpectation::WillOnce to use our type-unsafe API below. - friend class TypedExpectation<Result(Args...)>; - // An adaptor that wraps a callable that is compatible with our signature and // being invoked as an rvalue reference so that it can be used as an // StdFunctionAdaptor. This throws away type safety, but that's fine because |