mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-10-27 19:10:24 +01:00
Fix warning
This commit is contained in:
@@ -68,7 +68,7 @@ TEST(SIMD, SIMD_SUFFIX(SkipWhitespace)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct ScanCopyUnescapedStringHandler : BaseReaderHandler<UTF8<>, ScanCopyUnescapedStringHandler> {
|
struct ScanCopyUnescapedStringHandler : BaseReaderHandler<UTF8<>, ScanCopyUnescapedStringHandler> {
|
||||||
bool String(const char* str, size_t length, bool copy) {
|
bool String(const char* str, size_t length, bool) {
|
||||||
memcpy(buffer, str, length + 1);
|
memcpy(buffer, str, length + 1);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user