Fix errors reported by ICC.
* src/tgba/state.hh (state_ptr_less_than::operator()): Make it const. * src/tgba/tgbaproduct.cc: Include string.hh. * src/ltlast/multop.hh (multop::add, multop::add_sorted): Do not use qualified names in declarations. * m4/gccwarn.m4 (CF_GXX_WARNINGS): Fix GXX test. * src/ltlenv/defaultenv.hh, src/ltlenv/defaultenv.cc, src/ltlenv/environment.hh: Add virtual destructors.
This commit is contained in:
parent
59c145a8fb
commit
692f78d663
8 changed files with 27 additions and 4 deletions
|
|
@ -63,7 +63,7 @@ namespace spot
|
|||
struct state_ptr_less_than
|
||||
{
|
||||
bool
|
||||
operator()(const state* left, const state *right)
|
||||
operator()(const state* left, const state *right) const
|
||||
{
|
||||
return left->compare(right) < 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue