Commit 29a908cc authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

Protect the state destructor.

Client code should always call the destroy() method instead.  (It
was introduced in Spot 0.7.)

* src/tgba/state.hh (state::~state): Make it protected.
parent 94ac863c
2011-03-30 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Protect the state destructor.
Client code should always call the destroy() method instead. (It
was introduced in Spot 0.7.)
* src/tgba/state.hh (state::~state): Make it protected.
2011-03-30 Alexandre Duret-Lutz <adl@lrde.epita.fr>
Speedup tgba_product when one of the argument is a Kripke structure.
......
......@@ -88,9 +88,7 @@ namespace spot
delete this;
}
// FIXME: Make the destructor protected after Spot 0.7.
//protected:
protected:
/// \brief Destructor.
///
/// \deprecated Client code should now call
......
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