fix #2560 and other comments
This commit is contained in:
parent
fb70c9683c
commit
77f4fc473f
3 changed files with 22 additions and 22 deletions
|
@ -119,7 +119,7 @@ inline void RequestBuilder::Push(u64 value) {
|
|||
|
||||
template <>
|
||||
inline void RequestBuilder::Push(bool value) {
|
||||
Push(u8(value));
|
||||
Push(static_cast<u8>(value));
|
||||
}
|
||||
|
||||
template <>
|
||||
|
@ -277,7 +277,7 @@ inline u64 RequestParser::Pop() {
|
|||
|
||||
template <>
|
||||
inline bool RequestParser::Pop() {
|
||||
return Pop<u8>() != 0; // != 0 to remove warning C4800
|
||||
return Pop<u8>() != 0;
|
||||
}
|
||||
|
||||
template <>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue