Fix warning
This commit is contained in:
parent
d258f59022
commit
021d746931
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user