IncludeOS
IncludeOS copied to clipboard
build example/websocket failed
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
error: no matching function for call to ‘net::WebSocket::write(std::__1::shared_ptr<std::__1::vector
Is it a bug? What shuold I do?
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.