Malcolm Tyrrell il y a 5 ans
Parent
commit
2977643352
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 3
      test/unit/Common/utAssertHandler.cpp

+ 2 - 3
test/unit/Common/utAssertHandler.cpp

@@ -52,11 +52,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 namespace
 namespace
 {
 {
     /// An exception which is thrown by the testAssertHandler
     /// An exception which is thrown by the testAssertHandler
-    struct TestAssertException : std::exception
+    struct TestAssertException
     {
     {
         TestAssertException(const char* failedExpression, const char* file, int line)
         TestAssertException(const char* failedExpression, const char* file, int line)
-            : std::exception("Test Assert Exception")
-            , m_failedExpression(failedExpression)
+            : m_failedExpression(failedExpression)
             , m_file(file)
             , m_file(file)
             , m_line(line)
             , m_line(line)
         {
         {