aboutsummaryrefslogtreecommitdiffstats
path: root/include/gmock/gmock-generated-nice-strict.h.pump
diff options
context:
space:
mode:
Diffstat (limited to 'include/gmock/gmock-generated-nice-strict.h.pump')
-rw-r--r--include/gmock/gmock-generated-nice-strict.h.pump6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/gmock/gmock-generated-nice-strict.h.pump b/include/gmock/gmock-generated-nice-strict.h.pump
index b265c2e4..96371f57 100644
--- a/include/gmock/gmock-generated-nice-strict.h.pump
+++ b/include/gmock/gmock-generated-nice-strict.h.pump
@@ -100,6 +100,9 @@ $range j 1..i
::testing::Mock::UnregisterCallReaction(
internal::implicit_cast<MockClass*>(this));
}
+
+ private:
+ GTEST_DISALLOW_COPY_AND_ASSIGN_(NiceMock);
};
template <class MockClass>
@@ -132,6 +135,9 @@ $range j 1..i
::testing::Mock::UnregisterCallReaction(
internal::implicit_cast<MockClass*>(this));
}
+
+ private:
+ GTEST_DISALLOW_COPY_AND_ASSIGN_(StrictMock);
};
// The following specializations catch some (relatively more common)