diff --git a/googlemock/include/gmock/gmock-actions.h b/googlemock/include/gmock/gmock-actions.h index 578315f6..c83a99ad 100644 --- a/googlemock/include/gmock/gmock-actions.h +++ b/googlemock/include/gmock/gmock-actions.h @@ -322,9 +322,6 @@ struct is_callable_r_impl>, R, F, Args...> template using is_callable_r = is_callable_r_impl; -template -class TypedExpectation; - // Specialized for function types below. template class OnceAction; @@ -441,9 +438,6 @@ class OnceAction final { } private: - // Allow TypedExpectation::WillOnce to use our type-unsafe API below. - friend class TypedExpectation; - // 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