File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
llvm/utils/unittest/googlemock/include/gmock Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -657,6 +657,10 @@ class ActionHelper {
657
657
public: \
658
658
explicit GMOCK_ACTION_CLASS_ (name, value_params)\
659
659
GMOCK_INTERNAL_INIT_##value_params {}\
660
+ GMOCK_ACTION_CLASS_ (name, value_params)(\
661
+ const GMOCK_ACTION_CLASS_ (name, value_params)&) noexcept = default ;\
662
+ GMOCK_ACTION_CLASS_ (name, value_params)(\
663
+ GMOCK_ACTION_CLASS_ (name, value_params)&&) noexcept = default ;\
660
664
template <typename F>\
661
665
class gmock_Impl : public ::testing::ActionInterface<F> {\
662
666
public: \
@@ -688,8 +692,6 @@ class ActionHelper {
688
692
new gmock_Impl<F>(GMOCK_INTERNAL_LIST_##value_params));\
689
693
}\
690
694
GMOCK_INTERNAL_DEFN_##value_params\
691
- private: \
692
- GTEST_DISALLOW_ASSIGN_ (GMOCK_ACTION_CLASS_ (name, value_params));\
693
695
};\
694
696
template <GMOCK_INTERNAL_DECL_##template_params\
695
697
GMOCK_INTERNAL_DECL_TYPE_##value_params>\
Original file line number Diff line number Diff line change @@ -1297,8 +1297,6 @@ class MockSpec {
1297
1297
internal::FunctionMocker<F>* const function_mocker_;
1298
1298
// The argument matchers specified in the spec.
1299
1299
ArgumentMatcherTuple matchers_;
1300
-
1301
- GTEST_DISALLOW_ASSIGN_ (MockSpec);
1302
1300
}; // class MockSpec
1303
1301
1304
1302
// Wrapper type for generically holding an ordinary value or lvalue reference.
You can’t perform that action at this time.
0 commit comments