autfilt, dstar2tgba: remove some superfluous arguments
* bin/autfilt.cc, bin/dstar2tgba.cc, bin/common_hoaread.hh: The filename is stored in the parsed automaton, so do not pass it another time to the printer.
This commit is contained in:
parent
8be8bb2f95
commit
6c3e09489e
3 changed files with 15 additions and 19 deletions
|
|
@ -969,8 +969,7 @@ namespace
|
|||
}
|
||||
|
||||
int
|
||||
process_automaton(const spot::const_parsed_aut_ptr& haut,
|
||||
const char* filename) override
|
||||
process_automaton(const spot::const_parsed_aut_ptr& haut) override
|
||||
{
|
||||
process_timer timer;
|
||||
timer.start();
|
||||
|
|
@ -1234,7 +1233,8 @@ namespace
|
|||
|
||||
++match_count;
|
||||
|
||||
printer.print(aut, timer, nullptr, filename, -1, haut, prefix, suffix);
|
||||
printer.print(aut, timer, nullptr, haut->filename.c_str(), -1,
|
||||
haut, prefix, suffix);
|
||||
|
||||
if (opt_max_count >= 0 && match_count >= opt_max_count)
|
||||
abort_run = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue