We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
examples/EchoServer.cpp:56:6: error: no matching function for call to 'uWS::TemplatedAppBase<false, uWS::CachingApp >::ws<main()::PerSocketData>(const char [3], )' }).listen(9001, [](auto listen_socket) { ^ In file included from examples/EchoServer.cpp:2: src/App.h:272:32: note: candidate: 'template BuilderPatternReturnType&& uWS::TemplatedAppBase<SSL, BuilderPatternReturnType>::ws(std::string, uWS::TemplatedAppBase<SSL, BuilderPatternReturnType>::WebSocketBehavior&&) [with UserData = UserData; bool SSL = false; BuilderPatternReturnType = uWS::CachingApp]' BuilderPatternReturnType &&ws(std::string pattern, WebSocketBehavior &&behavior) { ^~ src/App.h:272:32: note: template argument deduction/substitution failed: examples/EchoServer.cpp:56:6: note: cannot convert '{((uWS::CompressOptions)((short unsigned int)(146 | 3840))), ((100 * 1024) * 1024), 16, ((100 * 1024) * 1024), false, false, true, nullptr, main()::<lambda(auto:18)>{}, main()::<lambda(auto:19*, std::string_view, uWS::OpCode)>{}, main()::<lambda(auto:20*, std::string_view, uWS::OpCode)>{}, main()::<lambda(auto:21*)>{}, main()::<lambda(auto:22*, std::string_view)>{}, main()::<lambda(auto:23*, std::string_view)>{}, main()::<lambda(auto:24*, int, std::string_view)>{}}' (type '') to type 'uWS::TemplatedAppBase<false, uWS::CachingApp >::WebSocketBehavior<main()::PerSocketData>&&' }).listen(9001, [](auto *listen_socket) {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
examples/EchoServer.cpp:56:6: error: no matching function for call to 'uWS::TemplatedAppBase<false, uWS::CachingApp >::ws<main()::PerSocketData>(const char [3], )'
}).listen(9001, [](auto listen_socket) {
^
In file included from examples/EchoServer.cpp:2:
src/App.h:272:32: note: candidate: 'template BuilderPatternReturnType&& uWS::TemplatedAppBase<SSL, BuilderPatternReturnType>::ws(std::string, uWS::TemplatedAppBase<SSL, BuilderPatternReturnType>::WebSocketBehavior&&) [with UserData = UserData; bool SSL = false; BuilderPatternReturnType = uWS::CachingApp]'
BuilderPatternReturnType &&ws(std::string pattern, WebSocketBehavior &&behavior) {
^~
src/App.h:272:32: note: template argument deduction/substitution failed:
examples/EchoServer.cpp:56:6: note: cannot convert '{((uWS::CompressOptions)((short unsigned int)(146 | 3840))), ((100 * 1024) * 1024), 16, ((100 * 1024) * 1024), false, false, true, nullptr, main()::<lambda(auto:18)>{}, main()::<lambda(auto:19*, std::string_view, uWS::OpCode)>{}, main()::<lambda(auto:20*, std::string_view, uWS::OpCode)>{}, main()::<lambda(auto:21*)>{}, main()::<lambda(auto:22*, std::string_view)>{}, main()::<lambda(auto:23*, std::string_view)>{}, main()::<lambda(auto:24*, int, std::string_view)>{}}' (type '') to type 'uWS::TemplatedAppBase<false, uWS::CachingApp >::WebSocketBehavior<main()::PerSocketData>&&'
}).listen(9001, [](auto *listen_socket) {
The text was updated successfully, but these errors were encountered: