diff options
author | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-09 15:06:03 +0200 |
---|---|---|
committer | Jonas Kvinge <jonas@jkvinge.net> | 2021-10-12 12:52:02 +0200 |
commit | 231fec7ca2f61da7d94c8aa072b41fd7ee893861 (patch) | |
tree | ab57dfa7050addd53d82f2040f4cddc8b3d3b17c /src/corelib/kernel/qpropertyprivate.h | |
parent | 651d7debe1effb1288194344cd4ec82377092a5b (diff) |
corelib: Fix typos in source code comments
Pick-to: 6.2
Change-Id: Ic78afb67143112468c6f84677ac88f27a74b53aa
Reviewed-by: Edward Welbourne <edward.welbourne@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 2fa82f6342..0f909712f6 100644 --- a/src/corelib/kernel/qpropertyprivate.h +++ b/src/corelib/kernel/qpropertyprivate.h @@ -201,7 +201,7 @@ struct BindingFunctionVTable static_assert (std::is_invocable_r_v<bool, Callable, QMetaType, QUntypedPropertyData *> ); auto untypedEvaluationFunction = static_cast<Callable *>(f); return std::invoke(*untypedEvaluationFunction, metaType, dataPtr); - } else if constexpr (!std::is_same_v<PropertyType, void>) { // check for void to woraround MSVC issue + } else if constexpr (!std::is_same_v<PropertyType, void>) { // check for void to workaround MSVC issue Q_UNUSED(metaType); QPropertyData<PropertyType> *propertyPtr = static_cast<QPropertyData<PropertyType> *>(dataPtr); // That is allowed by POSIX even if Callable is a function pointer |