------=_Part_154727_33493309.1230416320916 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sat, Dec 27, 2008 at 11:10, Adriaan de Groot 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@gmail.com ------=_Part_154727_33493309.1230416320916 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sat, Dec 27, 2008 at 11:10, Adriaan de Groot <groot@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@gmail.com

------=_Part_154727_33493309.1230416320916--