mirror of
https://github.com/fastfloat/fast_float.git
synced 2025-12-07 17:26:51 +08:00
allowing custom file parsing
This commit is contained in:
parent
77cc847c84
commit
864e790d22
@ -236,6 +236,11 @@ int main(int argc, char **argv) {
|
||||
<< std::endl;
|
||||
#endif
|
||||
}
|
||||
if(argc > 1) {
|
||||
fileload(argv[1]);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
fileload(std::string(BENCHMARK_DATA_DIR) + "/canada.txt");
|
||||
fileload(std::string(BENCHMARK_DATA_DIR) + "/mesh.txt");
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user