summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generators/boostpython/cppgenerator.cpp4
-rw-r--r--generators/boostpython/cppgenerator.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/generators/boostpython/cppgenerator.cpp b/generators/boostpython/cppgenerator.cpp
index 4a01369..dd90bc9 100644
--- a/generators/boostpython/cppgenerator.cpp
+++ b/generators/boostpython/cppgenerator.cpp
@@ -1432,8 +1432,8 @@ QMap<QString, QString> CppGenerator::options() const
return res;
}
-bool CppGenerator::prepareGeneration(const QMap<QString, QString>& args)
+bool CppGenerator::doSetup(const QMap<QString, QString>& args )
{
- BoostPythonGenerator::prepareGeneration(args);
m_disableNamedArgs = args.contains("disable-named-arg");
+ return BoostPythonGenerator::doSetup(args);
}
diff --git a/generators/boostpython/cppgenerator.h b/generators/boostpython/cppgenerator.h
index bd41fe1..5fcc6f3 100644
--- a/generators/boostpython/cppgenerator.h
+++ b/generators/boostpython/cppgenerator.h
@@ -38,7 +38,7 @@ public:
}
QMap<QString, QString> options() const;
- bool prepareGeneration(const QMap<QString, QString>& args);
+ bool doSetup(const QMap<QString, QString>& args);
protected:
QString fileNameForClass(const AbstractMetaClass *cppClass) const;