Simple fix for name erasure.
This commit is contained in:
parent
06c1dc3a29
commit
fb15886a1c
|
@ -25,8 +25,8 @@ int main (int argc, char *argv[]){
|
|||
exit(1);
|
||||
}
|
||||
const char *filename = argv[1];
|
||||
auto [p, error] = simdjson::padded_string::load(filename);
|
||||
if (error) {
|
||||
auto [p, err] = simdjson::padded_string::load(filename);
|
||||
if (err) {
|
||||
std::cerr << "Could not load the file " << filename << std::endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
@ -146,4 +146,4 @@ int main (int argc, char *argv[]){
|
|||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue