Skip to content

Commit 88caf4f

Browse files
committed
added missing typename
[SVN r15471]
1 parent a75ee50 commit 88caf4f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

include/boost/python/init.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,12 +269,15 @@ namespace detail
269269
, mpl::push_front<>
270270
>::type args;
271271

272+
typedef typename ClassT::holder_selector holder_selector_t;
273+
typedef typename ClassT::held_type held_type_t;
274+
272275
cl.def(
273276
"__init__",
274277
python::make_constructor<args>(
275278
policies
276279
// Using runtime type selection works around a CWPro7 bug.
277-
, ClassT::holder_selector::execute((ClassT::held_type*)0).get()
280+
, holder_selector_t::execute((held_type_t*)0).get()
278281
)
279282
, doc
280283
);

0 commit comments

Comments
 (0)