aboutsummaryrefslogtreecommitdiffstats
path: root/generator/cppgenerator.h
diff options
context:
space:
mode:
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r--generator/cppgenerator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/cppgenerator.h b/generator/cppgenerator.h
index 185380e4b..08b05aa8b 100644
--- a/generator/cppgenerator.h
+++ b/generator/cppgenerator.h
@@ -63,7 +63,7 @@ private:
* \param argName Python argument name
* \param type the TypeEntry passed when the validity check must confirm the type of the Python wrapper to be checked
*/
- void writeInvalidCppObjectCheck(QTextStream& s, QString pyArgName = "self", const TypeEntry* type = 0);
+ void writeInvalidCppObjectCheck(QTextStream& s, const QString& pyArgName);
void writeTypeCheck(QTextStream& s, const AbstractMetaType* argType, QString argumentName, bool isNumber = false, QString customType = "");
void writeTypeCheck(QTextStream& s, const OverloadData* overloadData, QString argumentName);