summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generator/shibokengenerator.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/generator/shibokengenerator.cpp b/generator/shibokengenerator.cpp
index b064573d..8be8964e 100644
--- a/generator/shibokengenerator.cpp
+++ b/generator/shibokengenerator.cpp
@@ -1013,7 +1013,8 @@ void ShibokenGenerator::writeArgumentNames(QTextStream &s,
if (((options & Generator::VirtualCall) == 0) &&
(!func->conversionRule(TypeSystem::NativeCode, arguments.at(j)->argumentIndex() + 1).isEmpty() ||
- !func->conversionRule(TypeSystem::TargetLangCode, arguments.at(j)->argumentIndex() + 1).isEmpty())
+ !func->conversionRule(TypeSystem::TargetLangCode, arguments.at(j)->argumentIndex() + 1).isEmpty()) &&
+ !func->isConstructor()
)
s << "_out";