diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-05-04 08:07:24 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-05-04 08:56:51 +0200 |
| commit | 89074f1295b5fb7c0c620350e26527860ee7f1e0 (patch) | |
| tree | d03ff98ba1f2cb3fbfa67043a74ce0f9af13b24c /sources/pyside2/libpyside/pysidesignal.cpp | |
| parent | 538f897fb5829b670f42c8e45e291f85d969c5e8 (diff) | |
shiboken: Streamline code generated for assignment of cppSelf
For common case of non-static overloads, shiboken would
generate 2 lines, one assigning a nullptr and a consecutive
one assigning cppSelf.
Refactor CppGenerator::writeCppSelfAssigment() to no longer do
this and use auto.
Change-Id: If32c4a7f480d4df735877ebb25c4584d64b49bf1
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/libpyside/pysidesignal.cpp')
0 files changed, 0 insertions, 0 deletions
