Makes gtest compile cleanly with MSVC's warning 4511 & 4512 (copy ctor /

assignment operator cannot be generated) enabled.
This commit is contained in:
zhanyong.wan
2009-09-18 16:35:15 +00:00
parent f43e4ff3ad
commit 9f894c2b36
6 changed files with 293 additions and 35 deletions

View File

@@ -6312,6 +6312,8 @@ class SequenceTestingListener : public EmptyTestEventListener {
Vector<String>* vector_;
const char* const id_;
GTEST_DISALLOW_COPY_AND_ASSIGN_(SequenceTestingListener);
};
TEST(EventListenerTest, AppendKeepsOrder) {