Impacts of the new method state.destroy()
* src/ta/taexplicit.cc, src/ta/taproduct.cc, src/taalgos/minimize.cc, src/taalgos/sba2ta.cc: changes to use the new method destroy() added to state.hh
This commit is contained in:
parent
cd04d9acf3
commit
bf01501e15
4 changed files with 47 additions and 36 deletions
|
|
@ -266,7 +266,7 @@ namespace spot
|
|||
delete *it_trans;
|
||||
}
|
||||
delete trans;
|
||||
delete get_tgba_state();
|
||||
get_tgba_state()->destroy();
|
||||
|
||||
Sgi::hash_map<int, transitions*, Sgi::hash<int> >::iterator i =
|
||||
transitions_by_condition.begin();
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace spot
|
|||
state_ta_product::~state_ta_product()
|
||||
{
|
||||
//see ta_product::free_state() method
|
||||
delete kripke_state_;
|
||||
kripke_state_->destroy();
|
||||
}
|
||||
|
||||
int
|
||||
|
|
@ -170,7 +170,7 @@ namespace spot
|
|||
return;
|
||||
}
|
||||
|
||||
delete kripke_succ_it_current_state;
|
||||
kripke_succ_it_current_state->destroy();
|
||||
step_();
|
||||
}
|
||||
}
|
||||
|
|
@ -263,7 +263,7 @@ namespace spot
|
|||
}
|
||||
else
|
||||
{
|
||||
delete kripke_init_state;
|
||||
kripke_init_state->destroy();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue