Fix issue with unsupported unreachable on Windows

This commit is contained in:
John Keiser 2020-08-18 21:34:06 -07:00
parent 9b11e119d4
commit b2779c35df
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ simdjson_really_inline error_code sax_tweet_reader_visitor::visit_object_start(j
return INCORRECT_TYPE; return INCORRECT_TYPE;
} }
SIMDJSON_UNREACHABLE(); SIMDJSON_UNREACHABLE();
return UNINITIALIZED;
} }
simdjson_really_inline error_code sax_tweet_reader_visitor::visit_key(json_iterator &, const uint8_t *key) { simdjson_really_inline error_code sax_tweet_reader_visitor::visit_key(json_iterator &, const uint8_t *key) {
current_key = key; current_key = key;