refactor(Core): code cleanup (part 3) (#6380)

This commit is contained in:
Francesco Borzì
2021-06-19 01:25:29 +02:00
committed by GitHub
parent 4d20442a1e
commit 23e9b85d0e
31 changed files with 34 additions and 65 deletions

View File

@@ -6,7 +6,6 @@
#include "ByteBuffer.h"
#include "Errors.h"
#include "MessageBuffer.h"
#include "Common.h"
#include "Log.h"
#include "Util.h"
#include <utf8.h>

View File

@@ -220,7 +220,7 @@ public:
ByteBuffer& operator>>(bool& value)
{
value = read<char>() > 0 ? true : false;
value = read<char>() > 0;
return *this;
}