Skip to content

Commit

Permalink
guard against compiler optimisation #48
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Oct 5, 2020
1 parent c7fc87e commit bba06c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/FoLiA-benchmark.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ void test(const string & test_id, const string & filename) {
folia::Document doc( "file='"+ filename + "'" );
Measurement m = begin();
vector<folia::Word*> selection = doc.words();
cerr << "found " << selection.size() << " words" << endl;
end(m, test_id, filename, title);
} else {
cerr << "ERROR: No such test: " << test_id << endl;
Expand Down

0 comments on commit bba06c9

Please sign in to comment.