diff --git a/doc/inheritance.html b/doc/inheritance.html index 3cceb0d0..56e96872 100644 --- a/doc/inheritance.html +++ b/doc/inheritance.html @@ -81,10 +81,10 @@ BOOST_PYTHON_MODULE_INIT(my_module)     python::module_builder my_module("my_module");     python::class_builder<Base> base_class(my_module, "Base"); -    base_class.def(python::constructor<void>()); +    base_class.def(python::constructor<>());     python::class_builder<Derived> derived_class(my_module, "Derived"); -    derived_class.def(python::constructor<void>()); +    derived_class.def(python::constructor<>()); // Establish the inheritance relationship between Base and Derived derived_class.declare_base(base_class); @@ -137,10 +137,10 @@ struct Derived2 { int f(); };
...    python::class_builder<Base> base2_class(my_module, "Base2"); -   base2_class.def(python::constructor<void>()); +   base2_class.def(python::constructor<>());    python::class_builder<Derived2> derived2_class(my_module, "Derived2"); -   derived2_class.def(python::constructor<void>()); +   derived2_class.def(python::constructor<>()); derived_class.declare_base(base_class, python::without_downcast);