Index: testing/gmock/include/gmock/gmock-generated-nice-strict.h |
diff --git a/testing/gmock/include/gmock/gmock-generated-nice-strict.h b/testing/gmock/include/gmock/gmock-generated-nice-strict.h |
index fc9a81b5602281e005f88cd00a615a48e3003d94..435467fac3e8f6fc468e0cb5f40fe4aad294d272 100644 |
--- a/testing/gmock/include/gmock/gmock-generated-nice-strict.h |
+++ b/testing/gmock/include/gmock/gmock-generated-nice-strict.h |
@@ -155,6 +155,9 @@ class NiceMock : public MockClass { |
::testing::Mock::UnregisterCallReaction( |
internal::implicit_cast<MockClass*>(this)); |
} |
+ |
+ private: |
+ GTEST_DISALLOW_COPY_AND_ASSIGN_(NiceMock); |
}; |
template <class MockClass> |
@@ -246,6 +249,9 @@ class StrictMock : public MockClass { |
::testing::Mock::UnregisterCallReaction( |
internal::implicit_cast<MockClass*>(this)); |
} |
+ |
+ private: |
+ GTEST_DISALLOW_COPY_AND_ASSIGN_(StrictMock); |
}; |
// The following specializations catch some (relatively more common) |