Add missing constructor for VersionInfo().

This commit is contained in:
Mikaël Capelle
2022-05-04 23:30:26 +02:00
parent 6268fe6d7b
commit 4b0890e679
+1
View File
@@ -63,6 +63,7 @@ namespace mo2::python {
.value("LITERAL", MOBase::VersionInfo::SCHEME_LITERAL);
py::class_<VersionInfo>(m, "VersionInfo")
.def(py::init<>())
.def(py::init<QString, VersionInfo::VersionScheme>(), "value"_a,
"scheme"_a = VersionInfo::SCHEME_DISCOVER)
// note: order of the two init<> below is important because