aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4instr_moth_p.h
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2019-10-21 15:14:13 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2019-10-21 15:41:58 +0200
commitd9c89dffe8e3e6f8ad4ad7fb7abedf1e9d2b7e9a (patch)
tree9fcd529a2e4932ee5e6d4910410a54682e87c9cc /src/qml/compiler/qv4instr_moth_p.h
parenta3acd0d64c68a01a003940b783262e2b0797361a (diff)
Replace usage of Q_ALIGNOF with alignof
Q_ALIGNOF is no longer needed as alignof is part of the C++11 standard, and will be removed from Qt 6. Task-number: QTBUG-76414 Change-Id: I2fdb84de7fa7342c5d032b7679be7ba6bbaf3b40 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4instr_moth_p.h')
-rw-r--r--src/qml/compiler/qv4instr_moth_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/compiler/qv4instr_moth_p.h b/src/qml/compiler/qv4instr_moth_p.h
index c0dd696b8a..254e1c46e9 100644
--- a/src/qml/compiler/qv4instr_moth_p.h
+++ b/src/qml/compiler/qv4instr_moth_p.h
@@ -348,7 +348,7 @@ QT_BEGIN_NAMESPACE
#endif
#endif
-#define MOTH_INSTR_ALIGN_MASK (Q_ALIGNOF(QV4::Moth::Instr) - 1)
+#define MOTH_INSTR_ALIGN_MASK (alignof(QV4::Moth::Instr) - 1)
#define MOTH_INSTR_ENUM(I) I, I##_Wide,
#define MOTH_INSTR_SIZE(I) (sizeof(QV4::Moth::Instr::instr_##I))