summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generator/cppgenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/cppgenerator.cpp b/generator/cppgenerator.cpp
index 6d7008de..7db34192 100644
--- a/generator/cppgenerator.cpp
+++ b/generator/cppgenerator.cpp
@@ -883,7 +883,7 @@ void CppGenerator::writeConstructorWrapper(QTextStream& s, const AbstractMetaFun
bool hasPythonConvertion = metaClass->typeEntry()->hasTargetConversionRule();
if (hasPythonConvertion) {
s << INDENT << "// Try python conversion rules" << endl;
- s << INDENT << "cptr = Shiboken::PythonConverter< " << metaClass->qualifiedCppName() << " >::transformFromPython(pyargs[0]);" << endl;
+ s << INDENT << "cptr = Shiboken::PythonConverter< " << metaClass->qualifiedCppName() << " >::transformFromPython(pyargs[0]);" << endl;
s << INDENT << "if (!cptr) {" << endl;
}