diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-12-23 00:13:23 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-12-23 00:13:23 +0000 |
commit | 32de5f53763125925e078498250f7e73a88de9ed (patch) | |
tree | cb5de0206e38598a12f10403de146faadcf9cdb0 /include/gmock/gmock-generated-nice-strict.h.pump | |
parent | 284b54d3047254a8787e4f5eb9ba62a866caaabd (diff) | |
download | googletest-32de5f53763125925e078498250f7e73a88de9ed.tar.gz googletest-32de5f53763125925e078498250f7e73a88de9ed.tar.bz2 googletest-32de5f53763125925e078498250f7e73a88de9ed.zip |
Fixes a slew of compiler warnings and turns on "warning as error" in the scons build.
Diffstat (limited to 'include/gmock/gmock-generated-nice-strict.h.pump')
-rw-r--r-- | include/gmock/gmock-generated-nice-strict.h.pump | 6 |
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) |