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:
Alexandre Duret-Lutz 2003-06-28 10:10:25 +00:00
parent 59c145a8fb
commit 692f78d663
8 changed files with 27 additions and 4 deletions

View file

@ -6,6 +6,10 @@ namespace spot
namespace ltl
{
default_environment::~default_environment()
{
}
formula*
default_environment::require(const std::string& s)
{

View file

@ -17,6 +17,7 @@ namespace spot
class default_environment : public environment
{
public:
virtual ~default_environment();
virtual formula* require(const std::string& prop_str);
virtual const std::string& name();

View file

@ -35,6 +35,11 @@ namespace spot
/// Get the name of the environment.
virtual const std::string& name() = 0;
virtual
~environment()
{
};
// FIXME: More functions will be needed later, but
// it's enough for now.
};