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:
Alexandre Duret-Lutz 2015-10-29 17:24:10 +01:00
parent f6af2a84cb
commit aaff42ee22
3 changed files with 8 additions and 8 deletions

View file

@ -383,7 +383,7 @@ namespace std {
}
}
%extend spot::twa_run_ptr {
%extend spot::twa_run {
std::string __str__()
{
std::ostringstream os;