summaryrefslogtreecommitdiff
path: root/src/theory/booleans
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2018-01-10 12:57:38 -0800
committerAina Niemetz <aina.niemetz@gmail.com>2018-01-10 12:57:38 -0800
commit82fa0b8a67d076287cc4c4105a42fcabc459fd18 (patch)
treeb32f88c11a055f4c4a8f20c5d40f1ac2ba2ed742 /src/theory/booleans
parent7357de6df17449837e8da7defc9c8a52522c50de (diff)
Removing throw specifiers for TypeRules. (#1501)
Diffstat (limited to 'src/theory/booleans')
-rw-r--r--src/theory/booleans/theory_bool_type_rules.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/theory/booleans/theory_bool_type_rules.h b/src/theory/booleans/theory_bool_type_rules.h
index 7de38b6af..405748324 100644
--- a/src/theory/booleans/theory_bool_type_rules.h
+++ b/src/theory/booleans/theory_bool_type_rules.h
@@ -26,7 +26,7 @@ namespace boolean {
class BooleanTypeRule {
public:
inline static TypeNode computeType(NodeManager* nodeManager, TNode n, bool check)
- throw (TypeCheckingExceptionPrivate, AssertionException) {
+ {
TypeNode booleanType = nodeManager->booleanType();
if( check ) {
TNode::iterator child_it = n.begin();
@@ -47,7 +47,7 @@ public:
class IteTypeRule {
public:
inline static TypeNode computeType(NodeManager* nodeManager, TNode n, bool check)
- throw (TypeCheckingExceptionPrivate, AssertionException) {
+ {
TypeNode thenType = n[1].getType(check);
TypeNode elseType = n[2].getType(check);
TypeNode iteType = TypeNode::leastCommonTypeNode(thenType, elseType);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback