[PATCH] kate vi ptr constructors

Erlend Hamberg ehamberg at gmail.com
Sat Dec 27 22:18:40 GMT 2008


On Sat, Dec 27, 2008 at 11:10, Adriaan de Groot <groot at kde.org> wrote:

> This is a very peculiar idiom for me, since it does some extra futzing on a
> 0
> in trying to create a null pointer; but it occurs twice, so there might be
> some secret hidden meaning to it. This patch replaces static_cast by the
> null
> Ptr constructor.


I'll have a look at this next week. It does look a bit weird, and I can't
remember why it was done that way.

-- 
Erlend Hamberg
ehamberg at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20081227/0e348355/attachment.htm>


More information about the kde-core-devel mailing list