Logging: mark qEmergencyOut() noexcept
This function is called in OOM situations and when other exceptions are still in flight, so it really shouldn't throw, indeed. Change-Id: I50cda699ffd74f3710c3bafd15af356ff410bc47 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
parent
063e3a4da8
commit
9f006a863a
@ -100,7 +100,7 @@ extern bool usingWinMain;
|
||||
everything after character 255, but will work in out of memory situations.
|
||||
Stop the execution afterwards.
|
||||
*/
|
||||
static void qEmergencyOut(QtMsgType msgType, const char *msg, va_list ap)
|
||||
static void qEmergencyOut(QtMsgType msgType, const char *msg, va_list ap) Q_DECL_NOEXCEPT
|
||||
{
|
||||
char emergency_buf[256] = { '\0' };
|
||||
emergency_buf[255] = '\0';
|
||||
|
Loading…
Reference in New Issue
Block a user