From fb15886a1cb45686dda5187964153cafc3d8535c Mon Sep 17 00:00:00 2001 From: Daniel Lemire Date: Fri, 13 Mar 2020 14:41:19 -0400 Subject: [PATCH] Simple fix for name erasure. --- benchmark/parse_stream.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark/parse_stream.cpp b/benchmark/parse_stream.cpp index 02cb5d81..05957ce5 100755 --- a/benchmark/parse_stream.cpp +++ b/benchmark/parse_stream.cpp @@ -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; -} \ No newline at end of file +}