Fix compile error on Linux platform and use c++ style header file(<cstddef> instead of <stddef.h>)

This commit is contained in:
dijunkun
2024-05-23 14:41:51 +08:00
parent 5decc4b007
commit 3fc8f9f616
21 changed files with 40 additions and 37 deletions

View File

@@ -1,6 +1,6 @@
#include "byte_buffer.h"
#include <string.h>
#include <cstring>
ByteBufferReader::ByteBufferReader(const char* bytes, size_t len) {
Construct(bytes, len);