summaryrefslogtreecommitdiffstats
path: root/googlemock/test/gmock-actions_test.cc
diff options
context:
space:
mode:
authorAaron Jacobs <jacobsa@google.com>2022-05-11 03:08:19 (GMT)
committerCopybara-Service <copybara-worker@google.com>2022-05-11 03:08:51 (GMT)
commit6386897feb0a3f4fbe104fe1fa4570ec8158d9e5 (patch)
treecb6d08bbb74311f40fb3784b50c60b8478ee0ab6 /googlemock/test/gmock-actions_test.cc
parentbda85449f48f2d80a494c8c07766b6aba3170f3b (diff)
downloadgoogletest-6386897feb0a3f4fbe104fe1fa4570ec8158d9e5.zip
googletest-6386897feb0a3f4fbe104fe1fa4570ec8158d9e5.tar.gz
googletest-6386897feb0a3f4fbe104fe1fa4570ec8158d9e5.tar.bz2
gmock-actions: make OnceAction public.
So that it can be referenced in conversion operators for actions that need to know the concrete return type. PiperOrigin-RevId: 447889344 Change-Id: I643d3298bc8effd08741282a956c221f9d67d378
Diffstat (limited to 'googlemock/test/gmock-actions_test.cc')
-rw-r--r--googlemock/test/gmock-actions_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc
index db112f1..7313b78 100644
--- a/googlemock/test/gmock-actions_test.cc
+++ b/googlemock/test/gmock-actions_test.cc
@@ -1920,7 +1920,7 @@ TEST(MockMethodTest, ActionSwallowsAllArguments) {
struct ActionWithTemplatedConversionOperators {
template <typename... Args>
- operator internal::OnceAction<int(Args...)>() && { // NOLINT
+ operator OnceAction<int(Args...)>() && { // NOLINT
return [] { return 17; };
}