* src/ltlast/formula.hh (ltl::formula::~formula): Make it protected.

This commit is contained in:
Alexandre Duret-Lutz 2004-11-02 13:53:20 +00:00
parent 754d7064ae
commit e5e886a442
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2004-11-02 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/ltlast/formula.hh (ltl::formula::~formula): Make it protected.
2004-10-29 Alexandre Duret-Lutz <adl@src.lip6.fr> 2004-10-29 Alexandre Duret-Lutz <adl@src.lip6.fr>
A tgba can now annotate a transition (i.e., the position of a A tgba can now annotate a transition (i.e., the position of a

View file

@ -38,8 +38,6 @@ namespace spot
class formula class formula
{ {
public: public:
virtual ~formula();
/// Entry point for vspot::ltl::visitor instances. /// Entry point for vspot::ltl::visitor instances.
virtual void accept(visitor& v) = 0; virtual void accept(visitor& v) = 0;
/// Entry point for vspot::ltl::const_visitor instances. /// Entry point for vspot::ltl::const_visitor instances.
@ -61,6 +59,8 @@ namespace spot
static void unref(formula* f); static void unref(formula* f);
protected: protected:
virtual ~formula();
/// \brief increment reference counter if any /// \brief increment reference counter if any
virtual void ref_(); virtual void ref_();
/// \brief decrement reference counter if any, return true when /// \brief decrement reference counter if any, return true when