diff options
author | João Abecasis <joao@abecasis.name> | 2009-11-06 15:09:39 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-11-11 16:06:48 (GMT) |
commit | 84e4fed4077c10158f4e76a483be34b3f6ca1b3a (patch) | |
tree | 2f67f98282510fdd3b9c564dff097860302667af /lib | |
parent | b10bc68357eb1c21db01ecd1450809977984480d (diff) | |
download | Qt-84e4fed4077c10158f4e76a483be34b3f6ca1b3a.zip Qt-84e4fed4077c10158f4e76a483be34b3f6ca1b3a.tar.gz Qt-84e4fed4077c10158f4e76a483be34b3f6ca1b3a.tar.bz2 |
Make QScopedPointer::operator== and != non-member
Non-member operator allows implicit conversions on both arguments.
A single operator is enough to support QScopedArrayPointer,
QCustomScopedPointer and QScopedSharedPointer since equality semantics
don't change and the deleter is managed in the base class.
Reviewed-by: Marius Storm-Olsen
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions