Add missing arg names for GuessedString constructor.

This commit is contained in:
Mikaël Capelle
2020-07-14 13:33:48 +02:00
parent a3e9916400
commit 6c1f961d83
+1 -1
View File
@@ -558,7 +558,7 @@ BOOST_PYTHON_MODULE(mobase)
bpy::class_<MOBase::GuessedValue<QString>, boost::noncopyable>("GuessedString")
.def(bpy::init<>())
.def(bpy::init<QString const&, EGuessQuality>())
.def(bpy::init<QString const&, EGuessQuality>((bpy::arg("value"), "quality")))
.def("update",
static_cast<GuessedValue<QString>& (GuessedValue<QString>::*)(const QString&)>(&GuessedValue<QString>::update),
bpy::return_self<>(), bpy::arg("value"))