On 05/06/19 01:39, Kevin Kofler wrote:
> Mutz, Marc via Development wrote:
> 
>> and produces surprises such as
>> https://codereview.qt-project.org/gitweb?p=qt%2Fqtbase.git;a=commit;h=96dc9a19ae11ca140d681f0e2605b5f4b953e581
> 
> My existing QSharedDataPointer code always checks truth with
> if (d.constData()) and never if (d).

Adding a const bool operator to QSharedDataPointer would solve the
problem, wouldn't it?

Ciao,
  Alberto

-- 
http://www.mardy.it - Geek in un lingua international
_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to