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:
Alexandre Duret-Lutz 2009-11-07 02:23:19 +01:00
parent f2e941cd07
commit 3488bf45e0
5 changed files with 15 additions and 5 deletions

View file

@ -73,7 +73,7 @@ namespace spot
protected:
typedef std::pair<formula*, formula*> pairf;
typedef std::pair<type, pairf> pair;
typedef std::map<pair, formula*> map;
typedef std::map<pair, binop*> map;
static map instances;
binop(type op, formula* first, formula* second);