forked from boostorg/beast
Fix enum and non-enum in conditional exp. warning
This commit is contained in:
committed by
Vinnie Falco
parent
f5f1b7d6fa
commit
471638c60e
@@ -1,6 +1,7 @@
|
||||
Version 121:
|
||||
|
||||
* Add test for issue 802
|
||||
* Fix enum and non-enum in conditional exp. warning
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@@ -1075,7 +1075,8 @@ loop:
|
||||
// _Start the WebSocket Closing Handshake_
|
||||
do_fail(
|
||||
cr.code == close_code::none ?
|
||||
close_code::normal : cr.code,
|
||||
close_code::normal :
|
||||
static_cast<close_code>(cr.code),
|
||||
error::closed, ec);
|
||||
return bytes_written;
|
||||
}
|
||||
|
Reference in New Issue
Block a user