aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/generator/shiboken/cppgenerator.cpp
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2021-06-07 15:32:33 +0200
committerChristian Tismer <tismer@stackless.com>2021-06-07 22:46:49 +0200
commitd43467dffce524cf49f55d5054173021c2b0df4e (patch)
treef8914147f0e047f37a9007ed12eb54d99e9be5f0 /sources/shiboken6/generator/shiboken/cppgenerator.cpp
parente72dc6d88f85fea451338523058e0407e8c8f0b5 (diff)
cppgenerator: remove a left-over "this" to get rid of a warning
This showed up when working on unrelated pathlib stuff. Change-Id: I230be79183c3dc41fa25abb276b1fdceb7df1630 Pick-to: 6.1 Task-number: PYSIDE-1499 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/shiboken6/generator/shiboken/cppgenerator.cpp')
-rw-r--r--sources/shiboken6/generator/shiboken/cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/generator/shiboken/cppgenerator.cpp b/sources/shiboken6/generator/shiboken/cppgenerator.cpp
index f9e1c5f8d..5e09241e5 100644
--- a/sources/shiboken6/generator/shiboken/cppgenerator.cpp
+++ b/sources/shiboken6/generator/shiboken/cppgenerator.cpp
@@ -4030,7 +4030,7 @@ void CppGenerator::writeContainerConverterInitialization(TextStream &s, const Ab
void CppGenerator::writeSmartPointerConverterInitialization(TextStream &s, const AbstractMetaType &type) const
{
const QByteArray cppSignature = type.cppSignature().toUtf8();
- auto writeConversionRegister = [this, &s](const AbstractMetaType &sourceType, const QString &targetTypeName, const QString &targetConverter)
+ auto writeConversionRegister = [&s](const AbstractMetaType &sourceType, const QString &targetTypeName, const QString &targetConverter)
{
const QString sourceTypeName = fixedCppTypeName(sourceType);
const QString toCpp = pythonToCppFunctionName(sourceTypeName, targetTypeName);