mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
Fix ARM compile errors on g++ 7.4 (#354)
* Fix ARM compilation errors * Update singleheader
This commit is contained in:
committed by
Daniel Lemire
parent
b1224a77db
commit
c97eb41dc6
+1
-1
@@ -75,7 +75,7 @@ int json_parse_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj,
|
||||
return json_parse_ptr.load(std::memory_order_relaxed)(buf, len, pj, realloc);
|
||||
}
|
||||
|
||||
std::atomic<json_parse_functype *> json_parse_ptr = &json_parse_dispatch;
|
||||
std::atomic<json_parse_functype *> json_parse_ptr{&json_parse_dispatch};
|
||||
|
||||
WARN_UNUSED
|
||||
ParsedJson build_parsed_json(const uint8_t *buf, size_t len,
|
||||
|
||||
Reference in New Issue
Block a user