Ticket #3091: signals2.patch

File signals2.patch, 773 bytes (added by Richard Webb <richard.webb@…>, 13 years ago)
  • detail/slot_template.hpp

     
    6666      template<typename Func, BOOST_PP_ENUM_PARAMS(n, typename ArgType)> \
    6767      BOOST_SIGNALS2_SLOT_CLASS_NAME(BOOST_SIGNALS2_NUM_ARGS)(const Func &func,  BOOST_PP_ENUM(n, BOOST_SIGNALS2_SLOT_BINDING_ARG_DECL, ~)) \
    6868      { \
    69         init_slot_function(bind(func, BOOST_PP_ENUM_PARAMS(n, arg))); \
     69        init_slot_function(boost::bind(func, BOOST_PP_ENUM_PARAMS(n, arg))); \
    7070      }
    7171      BOOST_PP_REPEAT_FROM_TO(1, BOOST_SIGNALS2_SLOT_MAX_BINDING_ARGS, BOOST_SIGNALS2_SLOT_N_BINDING_CONSTRUCTOR, ~)
    7272#undef BOOST_SIGNALS2_SLOT_N_BINDING_CONSTRUCTOR