summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qpropertyprivate.h
diff options
context:
space:
mode:
authorFabian Kosmale <fabian.kosmale@qt.io>2020-10-11 09:06:49 +0200
committerFabian Kosmale <fabian.kosmale@qt.io>2020-10-12 13:01:37 +0200
commitf912ad0a4ddc56611eb7224b3c4fc11bc19c95eb (patch)
tree88574f5ded6731c2640aff335119c5c7f121120f /src/corelib/kernel/qpropertyprivate.h
parent2f3cd3b1a8e57bcf9db2b9e9af01cfd3ad141108 (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.h2
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))