[Development] Qt 5.6.0 header diff: QtTest.diff

Thiago Macieira thiago.macieira at intel.com
Thu Sep 17 18:15:06 CEST 2015


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?
-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list