* src/ltlast/visitor.hh (visitor, const_visitor): Add empty
virtual destructors. * src/tgba/tgbabddfactory.hh (tgba_bdd_factory): Likewise. * src/misc/hash.hh: Use the std namespace only with GCC 3.0, not with all compiler versions with minor version 0. * src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator): Fix friend declaration of ::spot::tgba_tba_proxy.
This commit is contained in:
parent
6bcc8c3ce1
commit
048a5825de
5 changed files with 17 additions and 4 deletions
10
ChangeLog
10
ChangeLog
|
|
@ -1,3 +1,13 @@
|
||||||
|
2005-09-05 Heikki Tauriainen <heikki.tauriainen@tkk.fi>
|
||||||
|
|
||||||
|
* src/ltlast/visitor.hh (visitor, const_visitor): Add empty
|
||||||
|
virtual destructors.
|
||||||
|
* src/tgba/tgbabddfactory.hh (tgba_bdd_factory): Likewise.
|
||||||
|
* src/misc/hash.hh: Use the std namespace only with GCC 3.0,
|
||||||
|
not with all compiler versions with minor version 0.
|
||||||
|
* src/tgba/tgbatba.cc (tgba_tba_proxy_succ_iterator): Fix
|
||||||
|
friend declaration of ::spot::tgba_tba_proxy.
|
||||||
|
|
||||||
2005-09-01 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
2005-09-01 Alexandre Duret-Lutz <adl@src.lip6.fr>
|
||||||
|
|
||||||
* src/tgbaalgos/magic.hh: \fixme is not a doxygen command. Use \bug.
|
* src/tgbaalgos/magic.hh: \fixme is not a doxygen command. Use \bug.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
// Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||||
// et Marie Curie.
|
// et Marie Curie.
|
||||||
//
|
//
|
||||||
|
|
@ -41,6 +41,7 @@ namespace spot
|
||||||
/// spot::ltl:const_visitor instead.
|
/// spot::ltl:const_visitor instead.
|
||||||
struct visitor
|
struct visitor
|
||||||
{
|
{
|
||||||
|
virtual ~visitor() {}
|
||||||
virtual void visit(atomic_prop* node) = 0;
|
virtual void visit(atomic_prop* node) = 0;
|
||||||
virtual void visit(constant* node) = 0;
|
virtual void visit(constant* node) = 0;
|
||||||
virtual void visit(binop* node) = 0;
|
virtual void visit(binop* node) = 0;
|
||||||
|
|
@ -58,6 +59,7 @@ namespace spot
|
||||||
/// spot::ltl:visitor instead.
|
/// spot::ltl:visitor instead.
|
||||||
struct const_visitor
|
struct const_visitor
|
||||||
{
|
{
|
||||||
|
virtual ~const_visitor() {}
|
||||||
virtual void visit(const atomic_prop* node) = 0;
|
virtual void visit(const atomic_prop* node) = 0;
|
||||||
virtual void visit(const constant* node) = 0;
|
virtual void visit(const constant* node) = 0;
|
||||||
virtual void visit(const binop* node) = 0;
|
virtual void visit(const binop* node) = 0;
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
# else
|
# else
|
||||||
# include <ext/hash_map>
|
# include <ext/hash_map>
|
||||||
# include <ext/hash_set>
|
# include <ext/hash_set>
|
||||||
# if __GNUC_MINOR__ == 0
|
# if __GNUC__ == 3 && __GNUC_MINOR__ == 0
|
||||||
namespace Sgi = std; // GCC 3.0
|
namespace Sgi = std; // GCC 3.0
|
||||||
# else
|
# else
|
||||||
namespace Sgi = ::__gnu_cxx; // GCC 3.1 and later
|
namespace Sgi = ::__gnu_cxx; // GCC 3.1 and later
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ namespace spot
|
||||||
class tgba_bdd_factory
|
class tgba_bdd_factory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
virtual ~tgba_bdd_factory() {}
|
||||||
/// Get the core data for the new automata.
|
/// Get the core data for the new automata.
|
||||||
virtual const tgba_bdd_core_data& get_core_data() const = 0;
|
virtual const tgba_bdd_core_data& get_core_data() const = 0;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
|
// Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
|
||||||
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
|
||||||
// et Marie Curie.
|
// et Marie Curie.
|
||||||
//
|
//
|
||||||
|
|
@ -226,7 +226,7 @@ namespace spot
|
||||||
bool accepting_;
|
bool accepting_;
|
||||||
const list& cycle_;
|
const list& cycle_;
|
||||||
const bdd the_acceptance_cond_;
|
const bdd the_acceptance_cond_;
|
||||||
friend class tgba_tba_proxy;
|
friend class ::spot::tgba_tba_proxy;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // anonymous
|
} // anonymous
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue