diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-10-11 09:06:49 +0200 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2020-10-12 13:01:37 +0200 |
commit | f912ad0a4ddc56611eb7224b3c4fc11bc19c95eb (patch) | |
tree | 88574f5ded6731c2640aff335119c5c7f121120f /src/corelib/kernel/qpropertyprivate.h | |
parent | 2f3cd3b1a8e57bcf9db2b9e9af01cfd3ad141108 (diff) |
QProperty: make a few helpers constexpr
Change-Id: I1f3b2223530c311a7b40fd36c8162e32adbd9569
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/corelib/kernel/qpropertyprivate.h')
-rw-r--r-- | src/corelib/kernel/qpropertyprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qpropertyprivate.h b/src/corelib/kernel/qpropertyprivate.h index 26877e0315..d03b174a41 100644 --- a/src/corelib/kernel/qpropertyprivate.h +++ b/src/corelib/kernel/qpropertyprivate.h @@ -126,7 +126,7 @@ template <typename T, typename Tag> class QTagPreservingPointerToPointer { public: - QTagPreservingPointerToPointer() = default; + constexpr QTagPreservingPointerToPointer() = default; QTagPreservingPointerToPointer(T **ptr) : d(reinterpret_cast<quintptr*>(ptr)) |