Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Constructor to ClientInfo #152

Open
cody-sheff opened this issue May 18, 2022 · 2 comments
Open

Add Constructor to ClientInfo #152

cody-sheff opened this issue May 18, 2022 · 2 comments
Labels
feature New feature or request

Comments

@cody-sheff
Copy link

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){};

@cody-sheff cody-sheff added the feature New feature or request label May 18, 2022
@jtbandes
Copy link
Member

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

@cody-sheff
Copy link
Author

I'm seeing this issue on Ubuntu with GCC 9.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Development

No branches or pull requests

2 participants