Skip to content

Commit 637a2a2

Browse files
author
Ahmad Samir
committed
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 9164609 and 4dbac23. Pick-to: 6.9 Change-Id: Id41d2818266cf22765f0ae7f11265c0e840d5af3 Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Thiago Macieira <[email protected]>
1 parent bb38a29 commit 637a2a2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/corelib/kernel/qmetaobject_p.h

-8
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,6 @@ static inline bool is_space(char s)
217217
}
218218
#endif
219219

220-
/*
221-
This function is shared with moc.cpp. The implementation lives in qmetaobject_moc_p.h, which
222-
should be included where needed. The declaration here is not used to avoid warnings from
223-
the compiler about unused functions.
224-
225-
static QByteArray normalizeTypeInternal(const char *t, const char *e, bool fixScope = false, bool adjustConst = true);
226-
*/
227-
228220
QT_END_NAMESPACE
229221

230222
#endif

0 commit comments

Comments
 (0)