From 5cdebaf896f71966f3736fe099b8b772817dd3ba Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 25 Feb 2003 00:56:55 +0000 Subject: [PATCH] gcc-2.95 workaround [SVN r17620] --- include/boost/python/init.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/python/init.hpp b/include/boost/python/init.hpp index f9de81c5..76aa9b33 100644 --- a/include/boost/python/init.hpp +++ b/include/boost/python/init.hpp @@ -315,7 +315,7 @@ namespace detail , mpl::push_front<> >::type args; - typedef typename ClassT::holder_selector holder_selector_t; + typedef typename ClassT::holder_selector::type selector_t; typedef typename ClassT::held_type held_type_t; cl.def( @@ -327,7 +327,7 @@ namespace detail // Using runtime type selection works around a CWPro7 bug. , holder_selector_t::execute((held_type_t*)0).get() # else - , holder_selector_t::type::get() + , selector_t::get() # endif ) , doc