On Feb 6, 2008 1:56 PM, Nat Goodspeed <nat@lindenlab.com> wrote:
Try making that 'const ...::slot_type&' instead?
I tried that too, but the error gets even more crazy:
1>c:\it\personal\rocket_test\source\inputtest.cpp(48) : error C2663: 'boost::signal2<R,T1,T2,Combiner,Group,GroupCompare,SlotFunction>::connect' : 2 overloads have no legal conversion for 'this' pointer
1> with
1> [
1> R=void,
1> T1=int,
1> T2=int,
1> Combiner=boost::last_value<void>,
1> Group=int,
1> GroupCompare=std::less<int>,
1> SlotFunction=boost::function<void (int,int)>
1> ]
1> c:\it\personal\rocket_test\source\inputtest.cpp(61) : see reference to function template instantiation 'void bob::input::subscribe<INPUTSUB_MOUSE_MOTION>(const bob::input::SignalBank &,const boost::slot<SlotFunction> &)' being compiled
1> with
1> [
1> SlotFunction=boost::function<void (int,int)>
1> ]