summaryrefslogtreecommitdiffstats
path: root/generator/shibokengenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generator/shibokengenerator.cpp')
-rw-r--r--generator/shibokengenerator.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/generator/shibokengenerator.cpp b/generator/shibokengenerator.cpp
index a1606e85..aafa3c50 100644
--- a/generator/shibokengenerator.cpp
+++ b/generator/shibokengenerator.cpp
@@ -1209,8 +1209,6 @@ void ShibokenGenerator::writeCodeSnips(QTextStream& s,
argReplacement = usePyArgs ? QString("pyargs[%1]").arg(i - removed) : "arg";
} else {
argReplacement = QString("cpp_arg%1").arg(i - removed);
- if (shouldDereferenceArgumentPointer(arg))
- argReplacement.prepend("(*").append(')');
}
}
} else {
@@ -1236,8 +1234,6 @@ void ShibokenGenerator::writeCodeSnips(QTextStream& s,
argName = arg->defaultValueExpression();
} else {
argName = QString("cpp_arg%1").arg(arg->argumentIndex() - removed);
- if (shouldDereferenceArgumentPointer(arg))
- argName.prepend('*');
}
argumentNames << argName;
} else {