summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qglobal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/global/qglobal.cpp')
-rw-r--r--src/corelib/global/qglobal.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index b60e7495c6..5fbded415f 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -1904,7 +1904,8 @@ void qt_check_pointer(const char *n, int l)
qFatal("In file %s, line %d: Out of memory", n, l);
}
-/* \internal
+/*
+ \internal
Allows you to throw an exception without including <new>
Called internally from Q_CHECK_PTR on certain OS combinations
*/
@@ -1913,7 +1914,8 @@ void qBadAlloc()
QT_THROW(std::bad_alloc());
}
-/* \internal
+/*
+ \internal
Allows you to call std::terminate() without including <exception>.
Called internally from QT_TERMINATE_ON_EXCEPTION
*/