diff --git a/googlemock/test/gmock-actions_test.cc b/googlemock/test/gmock-actions_test.cc index 976f56d7..ccfb5197 100644 --- a/googlemock/test/gmock-actions_test.cc +++ b/googlemock/test/gmock-actions_test.cc @@ -1146,8 +1146,6 @@ TEST(WithArgsTest, ReturnReference) { } TEST(WithArgsTest, InnerActionWithConversion) { - struct Base {}; - struct Derived : Base {}; Action inner = [] { return nullptr; }; Action a = testing::WithoutArgs(inner); EXPECT_EQ(nullptr, a.Perform(std::make_tuple(1.1)));