diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-12-05 13:22:49 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2017-12-05 15:55:50 +0000 |
commit | e4b83104be7de56ca4a6959f84624c546ea8cd38 (patch) | |
tree | e4dce89bcbaba9a77a8b9f8396215b3a9e824e02 /sources/shiboken2/ApiExtractor/typedatabase.cpp | |
parent | 998b878f147c4a9e9acb8593b8ad38b25c07fc46 (diff) |
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 <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typedatabase.cpp')
-rw-r--r-- | sources/shiboken2/ApiExtractor/typedatabase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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'; } |