From 266923d9e8fbdaa65bdb2e63850a41f37393c5cc Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 20 Feb 2002 05:12:47 +0000 Subject: [PATCH] Removed useless default arg -- it was confusing MSVC [SVN r12860] --- include/boost/python/class.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;