projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e1ab30
)
resolving bug 139: metaKindOf() warnings still exist, but it's probably a g++ 4.3...
author
Morgan Deters
<mdeters@gmail.com>
Thu, 3 Jun 2010 00:09:14 +0000
(
00:09
+0000)
committer
Morgan Deters
<mdeters@gmail.com>
Thu, 3 Jun 2010 00:09:14 +0000
(
00:09
+0000)
src/expr/metakind_template.h
patch
|
blob
|
history
diff --git
a/src/expr/metakind_template.h
b/src/expr/metakind_template.h
index b2e45533a4be635856b455ba050d4594bb1d5cb0..fc0910893f33320be0df2e5f4e0db72037b188f2 100644
(file)
--- a/
src/expr/metakind_template.h
+++ b/
src/expr/metakind_template.h
@@
-123,6
+123,8
@@
${metakind_kinds}
metakind::INVALID /* LAST_KIND */
};/* metaKinds[] */
+ Assert(k >= kind::NULL_EXPR && k < kind::LAST_KIND);
+
return metaKinds[k];
}/* metaKindOf(k) */