diff --git a/include/boost/python/module.hpp b/include/boost/python/module.hpp index 23f2884e..a4dad490 100644 --- a/include/boost/python/module.hpp +++ b/include/boost/python/module.hpp @@ -30,8 +30,8 @@ class module : public detail::module_base module& setattr(const char* name, handle<> const&); module& add(PyTypeObject* x); // just use the type's name - template - module& add(class_ const& c) + template + module& add(class_ const& c) { this->add_class(c.object()); return *this;