Skip to content

Commit ef7e37e

Browse files
LocutusOfBorgras0219-msft
authored andcommitted
Fix boost1.63 build failure Fixes: #813 (#815)
1 parent aa4065b commit ef7e37e

File tree

1 file changed

+1
-1
lines changed
  • Release/libs/websocketpp/websocketpp/transport/asio/security

1 file changed

+1
-1
lines changed

Release/libs/websocketpp/websocketpp/transport/asio/security/tls.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class connection : public lib::enable_shared_from_this<connection> {
312312
return make_error_code(transport::error::tls_short_read);
313313
#else
314314
if (ERR_GET_REASON(ec.value()) == boost::asio::ssl::error::stream_truncated) {
315-
return make_error_code(boost::asio::ssl::error::stream_truncated);
315+
return make_error_code(static_cast<std::errc>(boost::asio::ssl::error::stream_truncated));
316316
#endif
317317
} else {
318318
// We know it is a TLS related error, but otherwise don't know

0 commit comments

Comments
 (0)