Fix double initialization of QRgba64 with C++14
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Fri, 21 Aug 2015 08:28:50 +0000 (10:28 +0200)
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>
Mon, 24 Aug 2015 08:36:50 +0000 (08:36 +0000)
commit2f43ac9dcdf4681267538f046a3d1b2c82ae0746
treed74665d6ff9bf4f3a20240517d113231aa308fbf
parentbc2dabf8ff9b7867945bfac68942ab98d79432ea
Fix double initialization of QRgba64 with C++14

Use constructors with C++11/C++14 where it is allowed to avoid hack
that caused double initialization and thereby performance regression
with C++14.

Change-Id: I7ae86df8aa34000b2c186e22bd9917303354b794
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/gui/painting/qrgba64.h