Skip to content
This repository was archived by the owner on Apr 20, 2019. It is now read-only.
This repository was archived by the owner on Apr 20, 2019. It is now read-only.

Ubuntu 16.04 uWebSockets fix #849

Description

@subodh-malgonde

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.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions