From c6b5ecbbdb40e16dda27a5b064487c421a35bd18 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 29 Aug 2003 19:03:14 +0000 Subject: [PATCH] Update for select_holder changes [SVN r19862] --- test/select_holder.cpp | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/test/select_holder.cpp b/test/select_holder.cpp index 93d57f11..2a0b1c8c 100644 --- a/test/select_holder.cpp +++ b/test/select_holder.cpp @@ -41,13 +41,10 @@ void assert_same(U* = 0, T* = 0) template void assert_holder(T* = 0, Held* = 0, Holder* = 0) { + typedef typename boost::python::objects::select_holder::type h; assert_same( -#if BOOST_WORKAROUND(__MWERKS__, <= 0x2407) - boost::python::objects::select_holder::execute((Held*)0).get() -#else - boost::python::objects::select_holder::type::get() -#endif - ); + (h*)0 + ); } int test_main(int, char * [])