diff options
author | João Abecasis <joao.abecasis@nokia.com> | 2010-08-18 17:38:55 (GMT) |
---|---|---|
committer | João Abecasis <joao.abecasis@nokia.com> | 2010-08-19 10:58:35 (GMT) |
commit | c6cc767cb065ca77aba06fe15830c22f187e370c (patch) | |
tree | e7f17f5fccbd06489c3c29b9dbd0605f850082f7 /tests/auto | |
parent | 156d1590b405d1d374b5b8c87f5388718462c5e1 (diff) | |
download | Qt-c6cc767cb065ca77aba06fe15830c22f187e370c.zip Qt-c6cc767cb065ca77aba06fe15830c22f187e370c.tar.gz Qt-c6cc767cb065ca77aba06fe15830c22f187e370c.tar.bz2 |
Prefer Q_CHECK_PTR to q_check_ptr
With the macro version we get proper debug output (with __FILE__,
__LINE__ annotations) when compiling with -no-exceptions and
!QT_NO_DEBUG.
All changes in this patch affect assignment to local variables, where
the order of assignment versus actual pointer check is not important.
Reviewed-by: Olivier Goffart
Diffstat (limited to 'tests/auto')
0 files changed, 0 insertions, 0 deletions