diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2010-08-18 17:13:53 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2010-08-19 10:58:17 (GMT) |
commit | 9a7a7ab681307067661fccad418f4b13535a24f2 (patch) | |
tree | c5cacf9ee869f31454927fe2c282a4d9faa47923 /src/corelib | |
parent | 0ff8ab987f70980671cb0d041d0d0d2ad1f64b23 (diff) | |
download | Qt-9a7a7ab681307067661fccad418f4b13535a24f2.zip Qt-9a7a7ab681307067661fccad418f4b13535a24f2.tar.gz Qt-9a7a7ab681307067661fccad418f4b13535a24f2.tar.bz2 |
Ensure Q_CHECK_PTR always requires terminating ;
... even with -no-exceptions and QT_NO_DEBUG.
Reviewed-by: Olivier Goffart
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qglobal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 0e0eecd..a8758cf 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -1690,7 +1690,7 @@ Q_CORE_EXPORT void qBadAlloc(); #ifdef QT_NO_EXCEPTIONS # if defined(QT_NO_DEBUG) -# define Q_CHECK_PTR(p) qt_noop(); +# define Q_CHECK_PTR(p) qt_noop() # else # define Q_CHECK_PTR(p) do {if(!(p))qt_check_pointer(__FILE__,__LINE__);} while (0) # endif |