summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qrgba64.h
diff options
context:
space:
mode:
authorRolland Dudemaine <rolland@ghs.com>2015-10-27 02:27:06 +0100
committerThiago Macieira <thiago.macieira@intel.com>2015-12-04 00:52:12 +0000
commit012e4b81fa65caa24d52bfe86357b617f74b85bf (patch)
tree9ff549710dd834b7c2c5bb1d695ad4e9405b1fdb /src/gui/painting/qrgba64.h
parent209f1f0b759c174e01b32d2c76016d1ec6091222 (diff)
Give names to enum used in templates.
The GHS toolchain needs names for enumerations that are used for template instantiation. Change-Id: I4e184cd77074fd7ece89f21317536e6006ab257d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/painting/qrgba64.h')
-rw-r--r--src/gui/painting/qrgba64.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/painting/qrgba64.h b/src/gui/painting/qrgba64.h
index fab9506ff2..51b37b2ef4 100644
--- a/src/gui/painting/qrgba64.h
+++ b/src/gui/painting/qrgba64.h
@@ -44,7 +44,7 @@ class QRgba64 {
// Make sure that the representation always has the order: red green blue alpha, independent
// of byte order. This way, vector operations that assume 4 16-bit values see the correct ones.
- enum {
+ enum Shifts {
#if Q_BYTE_ORDER == Q_BIG_ENDIAN
RedShift = 48,
GreenShift = 32,