diff options
author | Morgan Deters <mdeters@gmail.com> | 2011-04-18 08:59:09 +0000 |
---|---|---|
committer | Morgan Deters <mdeters@gmail.com> | 2011-04-18 08:59:09 +0000 |
commit | b90081962840584bb9eeda368ea232a7d42a292b (patch) | |
tree | c0f568bc787744a5d53b79a818c0f1bd819596cf /src/expr/node.h | |
parent | 7d281fba79b1c9f3ae646d3371a0e52e2efd3bba (diff) |
Partial merge from datatypes-merge branch:
1. Defines a new type "DatatypeType", a type-constant that holds a Datatype, describing an inductive data type.
2. CVC language parser supports datatypes.
3. CVC language printer now functional.
4. Minor other cleanups.
No performance impact is expected outside of datatypes. I'm verifying that that is the case with a cluster job this morning.
Diffstat (limited to 'src/expr/node.h')
-rw-r--r-- | src/expr/node.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/expr/node.h b/src/expr/node.h index 2509640e0..d3775cb3f 100644 --- a/src/expr/node.h +++ b/src/expr/node.h @@ -813,7 +813,7 @@ namespace CVC4 { // for hash_maps, hash_sets.. struct NodeHashFunction { - size_t operator()(const CVC4::Node& node) const { + size_t operator()(CVC4::Node node) const { return (size_t) node.getId(); } };/* struct NodeHashFunction */ |