On Donnerstag, 17. September 2015 09:15:06 CEST Thiago Macieira wrote:
> On Thursday 17 September 2015 15:27:44 Milian Wolff wrote:
> > +++ b/src/testlib/qtestaccessible.h
> > 
> > @@ -126,7 +126,7 @@ public:
> >      static void cleanup()
> >      {
> >      
> >          delete instance();
> > 
> > -        instance() = 0;
> > +        instance() = Q_NULLPTR;
> > 
> >      }
> > 
> > this is wrong
> 
> Why?

Because I can't read properly - sorry for the noise.

I misread this as using Q_NULLPTR for declaring instance as pure virtual which 
clearly is not the case here...
-- 
Milian Wolff | milian.wo...@kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to