python: fix output of twa_run
* src/twaalgos/emptiness.hh, src/twaalgos/emptiness.cc: Declare the operator<< for twa_run, not for twa_run_ptr (the shared_ptr automatically forward operator<<). * wrap/python/spot_impl.i: Add __str__ to twa_run, not twa_run_ptr.
This commit is contained in:
parent
f6af2a84cb
commit
aaff42ee22
3 changed files with 8 additions and 8 deletions
|
|
@ -332,7 +332,7 @@ namespace spot
|
|||
/// actually exists in the automaton (and will also display any
|
||||
/// transition annotation).
|
||||
SPOT_API
|
||||
friend std::ostream& operator<<(std::ostream& os, const twa_run_ptr& run);
|
||||
friend std::ostream& operator<<(std::ostream& os, const twa_run& run);
|
||||
};
|
||||
/// @}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue