From b7421fd5cd4237f53cf38d2787829d65dcd30ff9 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Wed, 24 Jul 2002 16:58:46 +0000 Subject: [PATCH] Fix Ralf's boo-boo. [SVN r14592] --- include/boost/python/class.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/python/class.hpp b/include/boost/python/class.hpp index 1abf41cb..1a5890c6 100644 --- a/include/boost/python/class.hpp +++ b/include/boost/python/class.hpp @@ -198,9 +198,9 @@ class class_ : public objects::class_base // Pickle support template - self& def_pickle(PickleSuiteType) + self& def_pickle(PickleSuiteType const& x) { - error_messages::must_be_derived_from_pickle_suite(PickleSuiteType()); + error_messages::must_be_derived_from_pickle_suite(x); detail::pickle_suite_finalize::register_( *this, &PickleSuiteType::getinitargs,