This commit is contained in:
Alexandre Duret-Lutz 2003-07-31 18:40:51 +00:00
parent a6bb5eaa5b
commit 99018935bb

View file

@ -112,7 +112,7 @@ namespace spot
multop::add_sorted(vec* v, formula* f) multop::add_sorted(vec* v, formula* f)
{ {
// Keep V sorted. When adding a new multop, iterate over all // Keep V sorted. When adding a new multop, iterate over all
// element until we find either an identicalle element, or the // element until we find either an identical element, or the
// place where the new one should be inserted. // place where the new one should be inserted.
vec::iterator i; vec::iterator i;
for (i = v->begin(); i != v->end(); ++i) for (i = v->begin(); i != v->end(); ++i)
@ -121,7 +121,7 @@ namespace spot
break; break;
if (*i == f) if (*i == f)
{ {
// F is arleady a child. Drop it. // F is already a child. Drop it.
destroy(f); destroy(f);
return; return;
} }