summaryrefslogtreecommitdiff
path: root/googlemock/include
diff options
context:
space:
mode:
authorAaron Jacobs <jacobsa@google.com>2022-05-02 08:37:04 -0700
committerCopybara-Service <copybara-worker@google.com>2022-05-02 08:37:49 -0700
commit42ca3da5798750c2998dd09b751838227e1f58d3 (patch)
tree8e1887b2d8aa6e0d8749712014af424785e801d9 /googlemock/include
parent51767261238513893d0cbd3fe2d7822ea4cf57a9 (diff)
downloadgoogletest-git-42ca3da5798750c2998dd09b751838227e1f58d3.tar.gz
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.h6
1 files changed, 0 insertions, 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<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