From ab563c84ba51733fc5eafa029238917583270b0a Mon Sep 17 00:00:00 2001 From: Fredrik Blomqvist Date: Sat, 19 Mar 2005 14:08:08 +0000 Subject: [PATCH] fixed const decl. typo [SVN r27741] --- generic_exception_safety.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic_exception_safety.html b/generic_exception_safety.html index 7410c86..3e1b775 100644 --- a/generic_exception_safety.html +++ b/generic_exception_safety.html @@ -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; }