From 42ca3da5798750c2998dd09b751838227e1f58d3 Mon Sep 17 00:00:00 2001 From: Aaron Jacobs Date: Mon, 2 May 2022 08:37:04 -0700 Subject: [PATCH] gmock-actions: remove a no-longer-necessary friend declaration. PiperOrigin-RevId: 445940487 Change-Id: I26952a72327db0d308bbe57ca4d1d91a0d7defc8 --- googlemock/include/gmock/gmock-actions.h | 6 ------ 1 file changed, 6 deletions(-) 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