Skip to content

Commit b01b6c6

Browse files
committed
Add missing IPlugin inheritance in installer bindings.
1 parent 6bed428 commit b01b6c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mobase/wrappers/pyplugins.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ namespace mo2::python {
111111
py::return_value_policy::reference);
112112

113113
py::class_<IPluginInstallerSimple, PyPluginInstallerSimple, IPluginInstaller,
114-
std::unique_ptr<IPluginInstallerSimple, py::nodelete>>(
114+
IPlugin, std::unique_ptr<IPluginInstallerSimple, py::nodelete>>(
115115
m, "IPluginInstallerSimple", py::multiple_inheritance())
116116
.def(py::init<>())
117117

@@ -128,7 +128,7 @@ namespace mo2::python {
128128
"name"_a, "tree"_a, "version"_a, "nexus_id"_a);
129129

130130
py::class_<IPluginInstallerCustom, PyPluginInstallerCustom, IPluginInstaller,
131-
std::unique_ptr<IPluginInstallerCustom, py::nodelete>>(
131+
IPlugin, std::unique_ptr<IPluginInstallerCustom, py::nodelete>>(
132132
m, "IPluginInstallerCustom", py::multiple_inheritance())
133133
.def(py::init<>())
134134
.def("isArchiveSupported", &IPluginInstallerCustom::isArchiveSupported,

0 commit comments

Comments
 (0)