Better types for instance maps.
* src/ltlast/unop.hh (map): Use unop* as values. * src/ltlast/binop.hh (map): Use binop* as values. * src/ltlast/multop.hh (map): Use multop* as values. * src/ltlast/automatop.hh (paircmp): Rename as tripletcmp. (map): Use automaton* as values, not formula*.
This commit is contained in:
parent
f2e941cd07
commit
3488bf45e0
5 changed files with 15 additions and 5 deletions
|
|
@ -61,7 +61,7 @@ namespace spot
|
|||
|
||||
protected:
|
||||
typedef std::pair<type, formula*> pair;
|
||||
typedef std::map<pair, formula*> map;
|
||||
typedef std::map<pair, unop*> map;
|
||||
static map instances;
|
||||
|
||||
unop(type op, formula* child);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue