mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Introducing a "native" instruction set so that you do not need to do #ifdef to select the right SIMD set all the time.
Fixing indentation. Removing some obsolete WARN_UNUSED. Fixing a weird warning with optind variable.
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ ParsedJson build_parsed_json(const uint8_t *buf, size_t len, bool reallocifneede
|
||||
ParsedJson pj;
|
||||
bool ok = pj.allocateCapacity(len);
|
||||
if(ok) {
|
||||
(void)json_parse(buf, len, pj, reallocifneeded);
|
||||
json_parse(buf, len, pj, reallocifneeded);
|
||||
} else {
|
||||
std::cerr << "failure during memory allocation " << std::endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user