diff --git a/include/boost/python/class.hpp b/include/boost/python/class.hpp index 978a226a..8dede0e3 100644 --- a/include/boost/python/class.hpp +++ b/include/boost/python/class.hpp @@ -122,7 +122,7 @@ class class_ : private objects::class_base // Define the constructor with the given Args, which should be an // MPL sequence of types. template - self& def_init(Args const& = Args()) + self& def_init(Args const&) { def("__init__", make_constructor()); return *this;