summaryrefslogtreecommitdiff
path: root/src/cppunit/Exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cppunit/Exception.cpp')
-rw-r--r--src/cppunit/Exception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cppunit/Exception.cpp b/src/cppunit/Exception.cpp
index a1269ae..466e75a 100644
--- a/src/cppunit/Exception.cpp
+++ b/src/cppunit/Exception.cpp
@@ -10,7 +10,7 @@ const long Exception::UNKNOWNLINENUMBER = -1;
/// Construct the exception
-Exception::Exception (const Exception& other) : exception (other)
+Exception::Exception (const Exception& other) : std::exception (other)
{
m_message = other.m_message;
m_lineNumber = other.m_lineNumber;
@@ -38,7 +38,7 @@ Exception::~Exception () throw()
Exception&
Exception::operator=( const Exception& other )
{
- exception::operator= (other);
+ std::exception::operator= (other);
if (&other != this)
{