Skip to content

Commit 5cdebaf

Browse files
committed
gcc-2.95 workaround
[SVN r17620]
1 parent 600602f commit 5cdebaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/boost/python/init.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ namespace detail
315315
, mpl::push_front<>
316316
>::type args;
317317

318-
typedef typename ClassT::holder_selector holder_selector_t;
318+
typedef typename ClassT::holder_selector::type selector_t;
319319
typedef typename ClassT::held_type held_type_t;
320320

321321
cl.def(
@@ -327,7 +327,7 @@ namespace detail
327327
// Using runtime type selection works around a CWPro7 bug.
328328
, holder_selector_t::execute((held_type_t*)0).get()
329329
# else
330-
, holder_selector_t::type::get()
330+
, selector_t::get()
331331
# endif
332332
)
333333
, doc

0 commit comments

Comments
 (0)