summaryrefslogtreecommitdiff
path: root/src/cppunit/Exception.cpp
diff options
context:
space:
mode:
authorBaptiste Lepilleur <gaiacrtn@free.fr>2002-07-11 05:01:54 +0000
committerBaptiste Lepilleur <gaiacrtn@free.fr>2002-07-11 05:01:54 +0000
commit6943d47a76445bbfebc99859ed38698760354642 (patch)
treeffe6390ed4d606edb9539e255232cbe95c79d2ce /src/cppunit/Exception.cpp
parent85aa074c02154107459755b2a3ddbc0b5767558a (diff)
downloadcppunit-6943d47a76445bbfebc99859ed38698760354642.tar.gz
added missing files
Diffstat (limited to 'src/cppunit/Exception.cpp')
-rw-r--r--src/cppunit/Exception.cpp2
1 files changed, 1 insertions, 1 deletions
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<Exception *>( this );
+ Exception *mutableThis = CPPUNIT_CONST_CAST( Exception *, this );
mutableThis->m_whatMessage = m_message.shortDescription() + "\n" +
m_message.details();
return m_whatMessage.c_str();