c++11: Replace boost::shared_ptr by std::shared_ptr.
* src/eltlparse/eltlparse.yy, src/ltlast/formula_tree.hh, src/ltlast/nfa.hh, src/saba/sabastate.hh, src/tgba/state.hh: Here.
This commit is contained in:
parent
67b9e8d882
commit
90a43db5a4
5 changed files with 13 additions and 14 deletions
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
# include "formula.hh"
|
||||
# include <vector>
|
||||
# include <boost/shared_ptr.hpp>
|
||||
# include <memory>
|
||||
# include "multop.hh"
|
||||
# include "binop.hh"
|
||||
# include "unop.hh"
|
||||
|
|
@ -44,8 +44,7 @@ namespace spot
|
|||
{
|
||||
virtual ~node() {};
|
||||
};
|
||||
/// We use boost::shared_ptr to easily handle deletion.
|
||||
typedef boost::shared_ptr<node> node_ptr;
|
||||
typedef std::shared_ptr<node> node_ptr;
|
||||
|
||||
struct SPOT_API node_unop : node
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@
|
|||
|
||||
# include "misc/common.hh"
|
||||
# include "misc/hash.hh"
|
||||
# include <boost/shared_ptr.hpp>
|
||||
# include <memory>
|
||||
# include <list>
|
||||
# include <set>
|
||||
# include <map>
|
||||
|
|
@ -52,10 +52,10 @@ namespace spot
|
|||
public:
|
||||
struct transition;
|
||||
typedef std::list<transition*> state;
|
||||
typedef boost::shared_ptr<formula_tree::node> label;
|
||||
typedef std::shared_ptr<formula_tree::node> label;
|
||||
/// Iterator over the successors of a state.
|
||||
typedef succ_iterator iterator;
|
||||
typedef boost::shared_ptr<nfa> ptr;
|
||||
typedef std::shared_ptr<nfa> ptr;
|
||||
|
||||
/// Explicit transitions.
|
||||
struct transition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue