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
|
|
@ -120,15 +120,14 @@ 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();
|
||||
auto nba = spot::to_generalized_buchi(haut->aut);
|
||||
auto aut = post.run(nba, nullptr);
|
||||
timer.stop();
|
||||
printer.print(aut, timer, nullptr, filename, -1, haut);
|
||||
printer.print(aut, timer, nullptr, haut->filename.c_str(), -1, haut);
|
||||
flush_cout();
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue