From e4b83104be7de56ca4a6959f84624c546ea8cd38 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 5 Dec 2017 13:22:49 +0100 Subject: Refactor typesystem modification structs - Use member initialization where possible - Make constructors explicit - Remove unused version attributes, unused comparison operators of FunctionModification and unused struct ExpensePolicy - Rearrange members to minimize Clang warnings about padding Change-Id: I1423f120b2117237c2674cdbb6d06923c842999f Reviewed-by: Christian Tismer --- sources/shiboken2/ApiExtractor/typedatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sources/shiboken2/ApiExtractor/typedatabase.cpp') diff --git a/sources/shiboken2/ApiExtractor/typedatabase.cpp b/sources/shiboken2/ApiExtractor/typedatabase.cpp index 0ed016d3d..76953a51e 100644 --- a/sources/shiboken2/ApiExtractor/typedatabase.cpp +++ b/sources/shiboken2/ApiExtractor/typedatabase.cpp @@ -728,7 +728,7 @@ QDebug operator<<(QDebug d, const TemplateEntry *te) d.nospace(); d << "TemplateEntry("; if (te) { - d << '"' << te->name() << "\", version=" << te->version(); + d << '"' << te->name() << '"'; } else { d << '0'; } -- cgit v1.2.3