Add an opt-in QWeakPointer::operator->.
commit8529d7e3ace4994cd2caf563bb437f2c5c38bcee
authorThiago Macieira <thiago.macieira@nokia.com>
Fri, 28 Aug 2009 16:35:43 +0000 (28 18:35 +0200)
committerThiago Macieira <thiago.macieira@nokia.com>
Mon, 31 Aug 2009 08:25:34 +0000 (31 10:25 +0200)
tree2f1d358be2fae6905fb7a751d7c691475f7f0718
parent9f7fd4923e04b3a5022e1f9b60ec1823918aefac
Add an opt-in QWeakPointer::operator->.

To use this, you must add #define QWEAKPOINTER_ENABLE_ARROW to your .cpp
before #including any headers. Be careful about adding this to .h files.

Reviewed-by: Olivier Goffart
src/corelib/tools/qsharedpointer_impl.h