Wrong QSharedDataPointer<Private> in kdelibs?

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Wed Apr 23 20:29:07 BST 2008


Hi,

Everywhere in kdelibs I see such constructs:

QSharedDataPointer<Private> d;

KFoo::KFoo() : d(new Private())
{}

KFoo::~KFoo()
{}


I'm missing 'delete d' in dtor - or do I miss something here?



Christian




More information about the kde-core-devel mailing list