Skip to content

build example/websocket failed #2144

Open
@Kiritimati

Description

@Kiritimati

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions