Fix syntax error introduced by 772919 (#138)

This commit is contained in:
Emil Gedda 2019-04-13 15:43:28 +02:00 committed by Daniel Lemire
parent de497675ac
commit 9368d7c25c
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ int main(int argc, char *argv[]) {
void *state;
bool ultrajson_correct = ((UJDecode(buffer, p.size(), NULL, &state) == NULL) == false);
auto * tokens = make_unique<jsmntok_t[](p.size());
auto tokens = make_unique<jsmntok_t[]>(p.size());
bool jsmn_correct = false;
if(tokens == nullptr) {
printf("Failed to alloc memory for jsmn\n");