forked from boostorg/beast
Fix enum and non-enum in conditional exp. warning
This commit is contained in:
1 parent
f5f1b7d6fa
commit
471638c60e
2 files changed
+3
-1
No files matched your search
@@ -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