diff options
Diffstat (limited to 'include/cppunit')
| -rw-r--r-- | include/cppunit/TestAssert.h | 2 | ||||
| -rw-r--r-- | include/cppunit/TestCaller.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/cppunit/TestAssert.h b/include/cppunit/TestAssert.h index 3459fc4..141bcdb 100644 --- a/include/cppunit/TestAssert.h +++ b/include/cppunit/TestAssert.h @@ -1,9 +1,9 @@ #ifndef CPPUNIT_TESTASSERT_H #define CPPUNIT_TESTASSERT_H -#include <string> #include <cppunit/Portability.h> #include <cppunit/Exception.h> +#include <string> namespace CppUnit { 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 ); } }; |
