File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,21 +19,21 @@ namespace boost { namespace python { namespace api {
1919
2020# if !defined(BOOST_NO_SFINAE) && !defined(BOOST_NO_IS_CONVERTIBLE)
2121
22- template <class X > char
23- is_object_operators_helper (object_operators<X> const & );
22+ template <class X >
23+ char is_object_operators_helper (object_operators<X> const * );
2424
2525typedef char (&no_type)[2];
2626no_type is_object_operators_helper (...);
2727
28- template <class X > X& make ();
28+ template <class X > X* make_ptr ();
2929
3030template <class L , class R >
3131struct is_object_operators
3232{
3333 enum {
3434 value
35- = (sizeof (api::is_object_operators_helper (api::make <L>()))
36- + sizeof (api::is_object_operators_helper (api::make <R>()))
35+ = (sizeof (api::is_object_operators_helper (api::make_ptr <L>()))
36+ + sizeof (api::is_object_operators_helper (api::make_ptr <R>()))
3737 < 4
3838 )
3939 };
You can’t perform that action at this time.
0 commit comments