summaryrefslogtreecommitdiff
path: root/src/util/abstract_value.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2018-01-08 22:04:02 -0800
committerGitHub <noreply@github.com>2018-01-08 22:04:02 -0800
commit3c6398194b01372720964590b2b07d93590e511d (patch)
tree1e1f40d79eeabe8b30524fe96d279a4f3d5b8fd7 /src/util/abstract_value.cpp
parent707e27e61addafdbcce5e7b6d32a61985f563dfb (diff)
Removing more miscellaneous throw specifiers. (#1488)
Removing more miscellaneous throw specifiers.
Diffstat (limited to 'src/util/abstract_value.cpp')
-rw-r--r--src/util/abstract_value.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/util/abstract_value.cpp b/src/util/abstract_value.cpp
index 123d568cb..a957d6809 100644
--- a/src/util/abstract_value.cpp
+++ b/src/util/abstract_value.cpp
@@ -30,9 +30,12 @@ std::ostream& operator<<(std::ostream& out, const AbstractValue& val) {
return out << "@" << val.getIndex();
}
-AbstractValue::AbstractValue(Integer index) throw(IllegalArgumentException) :
- d_index(index) {
- PrettyCheckArgument(index >= 1, index, "index >= 1 required for abstract value, not `%s'", index.toString().c_str());
+AbstractValue::AbstractValue(Integer index) : d_index(index)
+{
+ PrettyCheckArgument(index >= 1,
+ index,
+ "index >= 1 required for abstract value, not `%s'",
+ index.toString().c_str());
}
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback