strange KStaticDeleter usage

Thiago Macieira thiago at kde.org
Sun Apr 22 12:27:34 BST 2007


Christian Ehrlicher wrote:
>Sometimes there is also a dtor where s_self is set to 0 (when s_self ==
>this).
>I don't think this can work, but also don't know how to replace this
>with K_GLOBAL_STATIC in an easy and clean way.

I think the code is broken the way it is.

A static service mustn't be derived from...

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070422/3b030acd/attachment.sig>


More information about the kde-core-devel mailing list