File f34-assert.patch of Package mtl

Index: mtl-2.1.2-23/mtl/mtl_exception.h
===================================================================
--- mtl-2.1.2-23.orig/mtl/mtl_exception.h
+++ mtl-2.1.2-23/mtl/mtl_exception.h
@@ -68,7 +68,8 @@ protected:
 
 
 #if MTL_EXCEPTIONS
-#define MTL_THROW_ASSERTION    throw(mtl::assertion)
+#define MTL_THROW_ASSERTION    /* nothing */
+// throw(mtl::assertion)
 #define MTL_ASSERT(X,Y)        if (!(X)) { throw mtl::assertion(#X,Y); }
 #define MTL_THROW(X)           throw(X)
 #else
openSUSE Build Service is sponsored by