Commit 42ca3da5 authored by Aaron Jacobs's avatar Aaron Jacobs Committed by Copybara-Service
Browse files

gmock-actions: remove a no-longer-necessary friend declaration.

PiperOrigin-RevId: 445940487
Change-Id: I26952a72327db0d308bbe57ca4d1d91a0d7defc8
parent 51767261
...@@ -322,9 +322,6 @@ struct is_callable_r_impl<void_t<call_result_t<F, Args...>>, R, F, Args...> ...@@ -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> template <typename R, typename F, typename... Args>
using is_callable_r = is_callable_r_impl<void, R, F, Args...>; using is_callable_r = is_callable_r_impl<void, R, F, Args...>;
template <typename F>
class TypedExpectation;
// Specialized for function types below. // Specialized for function types below.
template <typename F> template <typename F>
class OnceAction; class OnceAction;
...@@ -441,9 +438,6 @@ class OnceAction<Result(Args...)> final { ...@@ -441,9 +438,6 @@ class OnceAction<Result(Args...)> final {
} }
private: 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 // 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 // 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 // StdFunctionAdaptor. This throws away type safety, but that's fine because
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment