Commit 048a5825 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* 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.
parent 6bcc8c3c
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>
* src/tgbaalgos/magic.hh: \fixme is not a doxygen command. Use \bug.
......
// Copyright (C) 2003, 2004 Laboratoire d'Informatique de Paris 6 (LIP6),
// Copyright (C) 2003, 2004, 2005 Laboratoire d'Informatique de Paris 6 (LIP6),
// dpartement Systmes Rpartis Coopratifs (SRC), Universit Pierre
// et Marie Curie.
//
......@@ -41,6 +41,7 @@ namespace spot
/// spot::ltl:const_visitor instead.
struct visitor
{
virtual ~visitor() {}
virtual void visit(atomic_prop* node) = 0;
virtual void visit(constant* node) = 0;
virtual void visit(binop* node) = 0;
......@@ -58,6 +59,7 @@ namespace spot
/// spot::ltl:visitor instead.
struct const_visitor
{
virtual ~const_visitor() {}
virtual void visit(const atomic_prop* node) = 0;
virtual void visit(const constant* node) = 0;
virtual void visit(const binop* node) = 0;
......
......@@ -40,7 +40,7 @@
# else
# include <ext/hash_map>
# include <ext/hash_set>
# if __GNUC_MINOR__ == 0
# if __GNUC__ == 3 && __GNUC_MINOR__ == 0
namespace Sgi = std; // GCC 3.0
# else
namespace Sgi = ::__gnu_cxx; // GCC 3.1 and later
......
......@@ -33,6 +33,7 @@ namespace spot
class tgba_bdd_factory
{
public:
virtual ~tgba_bdd_factory() {}
/// Get the core data for the new automata.
virtual const tgba_bdd_core_data& get_core_data() const = 0;
};
......
// 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
// et Marie Curie.
//
......@@ -226,7 +226,7 @@ namespace spot
bool accepting_;
const list& cycle_;
const bdd the_acceptance_cond_;
friend class tgba_tba_proxy;
friend class ::spot::tgba_tba_proxy;
};
} // anonymous
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment