fixed const decl. typo

[SVN r27741]
This commit is contained in:
Fredrik Blomqvist 2005-03-19 14:08:08 +00:00
parent e5ea34e334
commit ab563c84ba

View File

@ -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; }