From 6943d47a76445bbfebc99859ed38698760354642 Mon Sep 17 00:00:00 2001 From: Baptiste Lepilleur Date: Thu, 11 Jul 2002 05:01:54 +0000 Subject: added missing files --- src/cppunit/Exception.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cppunit/Exception.cpp') diff --git a/src/cppunit/Exception.cpp b/src/cppunit/Exception.cpp index 871a40a..68d8e61 100644 --- a/src/cppunit/Exception.cpp +++ b/src/cppunit/Exception.cpp @@ -70,7 +70,7 @@ Exception::operator =( const Exception& other ) const char* Exception::what() const throw() { - Exception *mutableThis = const_cast( this ); + Exception *mutableThis = CPPUNIT_CONST_CAST( Exception *, this ); mutableThis->m_whatMessage = m_message.shortDescription() + "\n" + m_message.details(); return m_whatMessage.c_str(); -- cgit v1.2.1