diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2001-09-23 22:58:09 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2001-09-23 22:58:09 +0000 |
| commit | 4738362b086adad7963a26abaf3ec8b052ef6374 (patch) | |
| tree | c432c012ee1ffe6fc0a0c4bb0aec378a1f61e33d /include/cppunit/TestCaller.h | |
| parent | 8270594d083e6fb7cdcba52351e7febb546ac299 (diff) | |
| download | cppunit-4738362b086adad7963a26abaf3ec8b052ef6374.tar.gz | |
Include/cppunit/TestAssert.
include/cppunit/TestAssert.h : changed header order to remove warning on VC++
* include/cppunit/TestCaller.h : bugfix: threw 'new Exception'
instead of 'Exception'.
Diffstat (limited to 'include/cppunit/TestCaller.h')
| -rw-r--r-- | include/cppunit/TestCaller.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/cppunit/TestCaller.h b/include/cppunit/TestCaller.h index ab7b63f..caf17bc 100644 --- a/include/cppunit/TestCaller.h +++ b/include/cppunit/TestCaller.h @@ -32,7 +32,7 @@ struct ExpectedExceptionTraits #else std::string message( "Expected exception but got none" ); #endif - throw new Exception( message ); + throw Exception( message ); } }; |
