Remove const qualifier in translator::run return type
* src/tgbaalgos/translate.cc, src/tgbaalgos/translate.hh: Remove const qualifier in translator::run return type.
This commit is contained in:
parent
37bcb5d959
commit
5817a3c11b
2 changed files with 4 additions and 4 deletions
|
|
@ -61,7 +61,7 @@ namespace spot
|
|||
simpl_owned_ = simpl_ = new ltl::ltl_simplifier(options, dict);
|
||||
}
|
||||
|
||||
const_tgba_digraph_ptr translator::run(const ltl::formula** f)
|
||||
tgba_digraph_ptr translator::run(const ltl::formula** f)
|
||||
{
|
||||
const ltl::formula* r = simpl_->simplify(*f);
|
||||
(*f)->destroy();
|
||||
|
|
@ -91,7 +91,7 @@ namespace spot
|
|||
return aut;
|
||||
}
|
||||
|
||||
const_tgba_digraph_ptr translator::run(const ltl::formula* f)
|
||||
tgba_digraph_ptr translator::run(const ltl::formula* f)
|
||||
{
|
||||
f->clone();
|
||||
auto aut = run(&f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue