We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5638a5e commit 07bec80Copy full SHA for 07bec80
1 file changed
src/mobase/wrappers/basic_classes.cpp
@@ -812,11 +812,9 @@ namespace mo2::python {
812
.def("isPortable", &IInstance::isPortable);
813
814
py::class_<IInstanceManager>(m, "IInstanceManager")
815
- .def("currentInstance", &IInstanceManager::currentInstance,
816
- py::return_value_policy::reference)
+ .def("currentInstance", &IInstanceManager::currentInstance)
817
.def("globalInstancePaths", &IInstanceManager::globalInstancePaths)
818
- .def("getGlobalInstance", &IInstanceManager::getGlobalInstance,
819
- py::return_value_policy::reference);
+ .def("getGlobalInstance", &IInstanceManager::getGlobalInstance);
820
}
821
822
void add_idownload_manager_classes(py::module_ m)
0 commit comments