Promote use of shared_ptr

* spot/kripke/kripke.hh, spot/ltsmin/ltsmin.cc,
spot/ltsmin/ltsmin.hh, spot/mc/ec.hh, spot/mc/intersect.hh,
spot/mc/utils.hh, spot/twacube/Makefile.am,
spot/twacube/fwd.hh, spot/twacube/twacube.hh,
spot/twacube_algos/convert.cc, spot/twacube_algos/convert.hh,
tests/core/twacube.cc, tests/ltsmin/modelcheck.cc: here.
This commit is contained in:
Etienne Renault 2016-04-25 15:36:26 +02:00
parent 7d2abe229b
commit 765bb8a7c4
13 changed files with 64 additions and 31 deletions

View file

@ -21,6 +21,7 @@
#include <spot/kripke/fairkripke.hh>
#include <spot/twacube/cube.hh>
#include <memory>
namespace spot
{
@ -33,7 +34,8 @@ namespace spot
/// are provided by this template class. Specialisations
/// will handle it.
template<typename State, typename SuccIterator>
class SPOT_API kripkecube
class SPOT_API kripkecube:
public std::enable_shared_from_this<kripkecube<State, SuccIterator>>
{
public:
/// \brief Returns the initial State of the System