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
/home/myvirtual/includeos/includeos/x86_64/include/libcxx/memory:3957:1: error: no type named ‘type’ in ‘struct std::__1::enable_if<false, std::__1::shared_ptr<std::__1::vector<unsigned char, std::experimental::fundamentals_v1::pmr::polymorphic_allocator > >::__nat>’
shared_ptr<_Tp>::shared_ptr(_Yp* __p,
error: no matching function for call to ‘net::WebSocket::write(std::__1::shared_ptr<std::__1::vector >)’
ws->write(msg->extract_shared_vector());
^~
Is it a bug? What shuold I do?
The text was updated successfully, but these errors were encountered:
Yea, thats a bug. It happened after a change from a normal vector to one using a polymorphic allocator.
Probably a simple fix as its just a matter of changing the extract_shared_vector function return type.
Build /example/websocket failed at 2 errors:
/home/myvirtual/includeos/includeos/x86_64/include/libcxx/memory:3957:1: error: no type named ‘type’ in ‘struct std::__1::enable_if<false, std::__1::shared_ptr<std::__1::vector<unsigned char, std::experimental::fundamentals_v1::pmr::polymorphic_allocator > >::__nat>’
shared_ptr<_Tp>::shared_ptr(_Yp* __p,
error: no matching function for call to ‘net::WebSocket::write(std::__1::shared_ptr<std::__1::vector >)’
ws->write(msg->extract_shared_vector());
^~
Is it a bug? What shuold I do?
The text was updated successfully, but these errors were encountered: