diff options
| author | Steve M. Robbins <smr@sumost.ca> | 2001-07-12 15:49:13 +0000 |
|---|---|---|
| committer | Steve M. Robbins <smr@sumost.ca> | 2001-07-12 15:49:13 +0000 |
| commit | c75b503d3829c574db58924d404e5176e1bcd992 (patch) | |
| tree | 575fe84f05a8a080855f583adde0fa11510bec7e /include/cppunit | |
| parent | fc812f34ff16b32c88617c81b3551475a5ece39e (diff) | |
| download | cppunit-c75b503d3829c574db58924d404e5176e1bcd992.tar.gz | |
Fixes for GCC 3.0
Diffstat (limited to 'include/cppunit')
| -rw-r--r-- | include/cppunit/Exception.h | 2 | ||||
| -rw-r--r-- | include/cppunit/NotEqualException.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/cppunit/Exception.h b/include/cppunit/Exception.h index d324e9e..1cf7548 100644 --- a/include/cppunit/Exception.h +++ b/include/cppunit/Exception.h @@ -34,7 +34,7 @@ namespace CppUnit { std::string fileName = UNKNOWNFILENAME); Exception (const Exception& other); - virtual ~Exception (); + virtual ~Exception () throw(); Exception& operator= (const Exception& other); diff --git a/include/cppunit/NotEqualException.h b/include/cppunit/NotEqualException.h index ca97364..f538222 100644 --- a/include/cppunit/NotEqualException.h +++ b/include/cppunit/NotEqualException.h @@ -17,7 +17,8 @@ namespace CppUnit { NotEqualException( const NotEqualException &other ); - virtual ~NotEqualException(); + + virtual ~NotEqualException() throw(); std::string expectedValue() const; |
