foxglove / ws-protocol

Foxglove Studio WebSocket protocol specification and libraries

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Constructor to ClientInfo

cody-sheff opened this issue · comments

Under some compilers a 'error: no matching function for call to ‘foxglove::websocket::Server::ClientInfo::ClientInfo()’ error is thrown. Adding a constructor to ClientInfo resolves this issue. Constructor that resolves the issue below:

ClientInfo(const std::string& name, const ConnHandle& handle) : name(name), handle(handle){};

Thanks for reporting. Can you share more info about the system/compiler where you encountered this error?

I'm seeing this issue on Ubuntu with GCC 9.3.0