summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmetaobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qmetaobject.cpp')
-rw-r--r--src/corelib/kernel/qmetaobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp
index 17a9856dfd2..8e11bd52578 100644
--- a/src/corelib/kernel/qmetaobject.cpp
+++ b/src/corelib/kernel/qmetaobject.cpp
@@ -2481,7 +2481,7 @@ bool QMetaMethod::isConst() const
*/
QMetaMethod::Access QMetaMethod::access() const
{
- constexpr int AccessShift = QtPrivate::qConstexprCountTrailingZeroBits(AccessMask);
+ constexpr int AccessShift = qCountTrailingZeroBits(AccessMask);
static_assert(AccessPrivate >> AccessShift == Private);
static_assert(AccessProtected >> AccessShift == Protected);
static_assert(AccessPublic >> AccessShift == Public);
@@ -2497,7 +2497,7 @@ QMetaMethod::Access QMetaMethod::access() const
*/
QMetaMethod::MethodType QMetaMethod::methodType() const
{
- constexpr int MethodShift = QtPrivate::qConstexprCountTrailingZeroBits(MethodTypeMask);
+ constexpr int MethodShift = qCountTrailingZeroBits(MethodTypeMask);
static_assert(MethodMethod >> MethodShift == Method);
static_assert(MethodSignal >> MethodShift == Signal);
static_assert(MethodSlot >> MethodShift == Slot);