|
|
@@ -467,7 +467,7 @@ struct TestClass
|
|
|
: p( ThisCanThrow(), new int( *rhs.p ) ) {}
|
|
|
const TestClass& operator=( const TestClass& rhs )
|
|
|
{ ThisCanThrow(); *p = *rhs.p; }
|
|
|
- bool operator==( const TestClass& rhs )
|
|
|
+ bool operator==( const TestClass& rhs ) const
|
|
|
{ ThisCanThrow(); return *p == *rhs.p; }
|
|
|
...etc...
|
|
|
~TestClass() { delete p; }
|