Changeset 56189
- Timestamp:
- 10/09/08 02:33:13 (6 weeks ago)
- Files:
-
- 1 modified
-
wxWidgets/trunk/tests/vectors/vectors.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wxWidgets/trunk/tests/vectors/vectors.cpp
r54696 r56189 48 48 49 49 // ---------------------------------------------------------------------------- 50 // simple class capable of checking it 's thispointer validity50 // simple class capable of checking its "this" pointer validity 51 51 // ---------------------------------------------------------------------------- 52 52 … … 57 57 SelfPointingObject(const SelfPointingObject&) { m_self = this; } 58 58 ~SelfPointingObject() { CPPUNIT_ASSERT( this == m_self ); } 59 60 // the assignment operator should not modify our "this" pointer so 61 // implement it just to prevent the default version from doing it 62 SelfPointingObject& operator=(const SelfPointingObject&) { return *this; } 59 63 60 64 private:
