src/corelib/global/qglobal.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
--- a/src/corelib/global/qglobal.cpp	Mon Mar 15 12:43:09 2010 +0200
+++ b/src/corelib/global/qglobal.cpp	Thu Apr 08 14:19:33 2010 +0300
@@ -1995,7 +1995,6 @@
     qWarning("In file %s, line %d: Out of memory", n, l);
 }
 
-#ifndef QT_NO_EXCEPTIONS
 /* \internal
    Allows you to throw an exception without including <new>
    Called internally from Q_CHECK_PTR on certain OS combinations
@@ -2004,7 +2003,6 @@
 {
     QT_THROW(std::bad_alloc());
 }
-#endif
 
 /*
   The Q_ASSERT macro calls this function when the test fails.