diff options
author | Marcelo Lira <marcelo.lira@openbossa.org> | 2011-07-28 00:30:00 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:17:05 -0300 |
commit | 40b7e0c83b76a208117f5fd4c0c3b850beb3d889 (patch) | |
tree | 3047ae732532a0bf2a2dd4a01d416df43eaedb58 /generator/cppgenerator.h | |
parent | 849c246c1e459ddeb545b5a4520365fbb803bf55 (diff) |
Removed unused parameter from writeInvalidCppObjectCheck().
Also removed the default value for a more explicit use of the method.
Diffstat (limited to 'generator/cppgenerator.h')
-rw-r--r-- | generator/cppgenerator.h | 2 |
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); |