We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There's problem when I use get_user_agent function in websocketpp\endpoint.hpp. The VC compiler prompt error as below:
2>d:\work\vsproject2005\asksvn\websocketpptest2\websocketpp\endpoint.hpp(114) : error C2664: 'boost::lock_guard::lock_guard(boost::lock_guard &)' : cannot convert parameter 1 from 'const boost::mutex' to 'boost::lock_guard &'
When I change the function std::string get_user_agent() const to std::string get_user_agent(). Drop the const, compile successfully.
I suggest that drop the const in this fucntion.
Thanks.
The text was updated successfully, but these errors were encountered:
sets mutex to mutable to allow use in const accessors references #292
18036d2
Haven't had any further reports of this issue. Please re-open if anyone does run into this again.
Sorry, something went wrong.
No branches or pull requests
There's problem when I use get_user_agent function in websocketpp\endpoint.hpp.
The VC compiler prompt error as below:
2>d:\work\vsproject2005\asksvn\websocketpptest2\websocketpp\endpoint.hpp(114) : error C2664: 'boost::lock_guard::lock_guard(boost::lock_guard &)' : cannot convert parameter 1 from 'const boost::mutex' to 'boost::lock_guard &'
When I change the function std::string get_user_agent() const to std::string get_user_agent(). Drop the const, compile successfully.
I suggest that drop the const in this fucntion.
Thanks.
The text was updated successfully, but these errors were encountered: