From 637a2a29833e31635eb42841e235f24e3589972c Mon Sep 17 00:00:00 2001 From: Ahmad Samir Date: Thu, 27 Mar 2025 20:00:19 +0200 Subject: [PATCH] QMetaObject: remove commented out normalizeTypeInternal() declaration It is out-of-sync with the actual implementation in qmetaobject_moc_p. we could change the parameter types, but it will only go out-of-sync again if the implementation is changed in the future. So just remove the whole comment. Amends 916460929d1de315262d4a9ee91280ecaf3f58f1 and 4dbac23e5354638224d8d99ba3342067c015a04b. Pick-to: 6.9 Change-Id: Id41d2818266cf22765f0ae7f11265c0e840d5af3 Reviewed-by: Fabian Kosmale Reviewed-by: Thiago Macieira --- src/corelib/kernel/qmetaobject_p.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/corelib/kernel/qmetaobject_p.h b/src/corelib/kernel/qmetaobject_p.h index 1d72d151611..eb41f40ec41 100644 --- a/src/corelib/kernel/qmetaobject_p.h +++ b/src/corelib/kernel/qmetaobject_p.h @@ -217,14 +217,6 @@ static inline bool is_space(char s) } #endif -/* - This function is shared with moc.cpp. The implementation lives in qmetaobject_moc_p.h, which - should be included where needed. The declaration here is not used to avoid warnings from - the compiler about unused functions. - -static QByteArray normalizeTypeInternal(const char *t, const char *e, bool fixScope = false, bool adjustConst = true); -*/ - QT_END_NAMESPACE #endif