Commit e563a90c authored by Cyprien Borée's avatar Cyprien Borée Committed by Mikaël Salson
Browse files

Replace pair with two objects in FilterWithACAutomaton destructor

For more informations, see #3283.
parent 0cb66b53
...@@ -5,15 +5,12 @@ FilterWithACAutomaton::FilterWithACAutomaton(BioReader &origin, string seed){ ...@@ -5,15 +5,12 @@ FilterWithACAutomaton::FilterWithACAutomaton(BioReader &origin, string seed){
} }
FilterWithACAutomaton::~FilterWithACAutomaton(){ FilterWithACAutomaton::~FilterWithACAutomaton(){
if(p){ if(automaton){
if(p->first){ delete automaton;
delete p->first;
} }
if(p->second){ if(indexes){
delete p->second; delete indexes;
} }
delete p;
}
} }
void FilterWithACAutomaton::buildACAutomatonToFilterBioReader void FilterWithACAutomaton::buildACAutomatonToFilterBioReader
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment