* src/tgba/state.hh (state_ptr_less_than): Make sure left is

non-null.  Suggested by Denis Poitreneaud.
This commit is contained in:
Alexandre Duret-Lutz 2003-08-25 19:21:02 +00:00
parent 18a8037a3e
commit 51094329d8
2 changed files with 6 additions and 0 deletions

View file

@ -46,6 +46,7 @@ namespace spot
bool
operator()(const state* left, const state* right) const
{
assert(left);
return left->compare(right) < 0;
}
};