diff --git a/include/boost/python/module.hpp b/include/boost/python/module.hpp index 41286ac2..61d8f664 100644 --- a/include/boost/python/module.hpp +++ b/include/boost/python/module.hpp @@ -31,7 +31,7 @@ class module : public detail::module_base template module& add(class_ const& c) { - this->generic_add_class(c.object()); + this->add_class(c.object()); return *this; }