You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A student reported that he gets this error when he tries to compile the project after running ./install-ubuntu.sh.
/usr/include/uWS/Group.h:69:10: note: no known conversion for argument 1 from ‘main()::<lambda(uWS::WebSocket, char*, size_t, uWS::OpCode)>’ to ‘std::function<void(uWS::WebSocket, char, long unsigned int, uWS::OpCode)>
The fix, apparently, is to change pass by value references ie w to pointers that pass by address *w. And if you are using a member such as .send you should wrap the pointer ie (*w).send.
A student reported that he gets this error when he tries to compile the project after running
./install-ubuntu.sh.The fix, apparently, is to change pass by value references ie
wto pointers that pass by address*w. And if you are using a member such as .send you should wrap the pointer ie(*w).send.