Skip to content

Commit c416793

Browse files
Fix name in ClassEntry Binding_ObjectFactory.cpp (#455)
The name was missing. Signed-off-by: Damien Marchal <damien.marchal@univ-lille1.fr>
1 parent 6a074f9 commit c416793

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

bindings/Sofa/src/SofaPython3/Sofa/Core/Binding_ObjectFactory.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,11 @@ py::dict dataAlias(const ObjectFactory::ClassEntry &self)
169169

170170

171171
void moduleAddObjectFactory(py::module &m) {
172-
py::class_<ObjectFactory> factory (m, "ObjectFactory", sofapython3::doc::objectmodel::ObjectFactoryClass);
172+
py::class_<ObjectFactory> factory (m, "ObjectFactory",
173+
sofapython3::doc::objectmodel::ObjectFactoryClass);
173174

174-
py::class_<ObjectFactory::ClassEntry> entry(m, sofapython3::doc::objectmodel::ClassEntryClass);
175+
py::class_<ObjectFactory::ClassEntry> entry(m, "ClassEntry",
176+
sofapython3::doc::objectmodel::ClassEntryClass);
175177
entry.def_property_readonly("className", &className);
176178
entry.def_property_readonly("aliases", &aliases);
177179
entry.def_property_readonly("description", &description);

0 commit comments

Comments
 (0)