I've committed usockets/uwebsockets, but purritobin build fails:

===>  Building for purritobin-0.3.2
c++ -O2 -pipe  -std=c++2a `pkg-config --cflags libusockets` -DUWS_NO_ZLIB 
src/main.cc -o purrito  `pkg-config --libs l
ibusockets`
src/main.cc:270:40: error: no viable conversion from 'struct 
us_socket_context_options_t' to
      'uWS::SocketContextOptions'
    purrito.addServerName(server_name, ssl_options);
                                       ^~~~~~~~~~~
/usr/local/include/uWebSockets/App.h:33:12: note: candidate constructor (the 
implicit copy constructor) not viable: no
      known conversion from 'struct us_socket_context_options_t' to 'const 
uWS::SocketContextOptions &' for 1st
      argument
    struct SocketContextOptions {
           ^
/usr/local/include/uWebSockets/App.h:33:12: note: candidate constructor (the 
implicit move constructor) not viable: no
      known conversion from 'struct us_socket_context_options_t' to 
'uWS::SocketContextOptions &&' for 1st argument
/usr/local/include/uWebSockets/App.h:61:85: note: passing argument to parameter 
'options' here
    TemplatedApp &&addServerName(std::string hostname_pattern, 
SocketContextOptions options = {}) {
                                                                                
    ^
1 error generated.

Reply via email to