summaryrefslogtreecommitdiff
path: root/src/util/statistics_registry.h
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/statistics_registry.h
parent707e27e61addafdbcce5e7b6d32a61985f563dfb (diff)
Removing more miscellaneous throw specifiers. (#1488)
Removing more miscellaneous throw specifiers.
Diffstat (limited to 'src/util/statistics_registry.h')
-rw-r--r--src/util/statistics_registry.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/util/statistics_registry.h b/src/util/statistics_registry.h
index 3de001e32..73a545185 100644
--- a/src/util/statistics_registry.h
+++ b/src/util/statistics_registry.h
@@ -91,8 +91,8 @@ public:
* will throw an assertion exception if the given name contains the
* statistic delimiter string.
*/
- Stat(const std::string& name) throw(CVC4::IllegalArgumentException) :
- d_name(name) {
+ Stat(const std::string& name) : d_name(name)
+ {
if(__CVC4_USE_STATISTICS) {
CheckArgument(d_name.find(", ") == std::string::npos, name,
"Statistics names cannot include a comma (',')");
@@ -659,8 +659,7 @@ public:
StatisticsRegistry() {}
/** Construct a statistics registry */
- StatisticsRegistry(const std::string& name)
- throw(CVC4::IllegalArgumentException);
+ StatisticsRegistry(const std::string& name);
/**
* Set the name of this statistic registry, used as prefix during
@@ -689,10 +688,10 @@ public:
}
/** Register a new statistic */
- void registerStat(Stat* s) throw(CVC4::IllegalArgumentException);
+ void registerStat(Stat* s);
/** Unregister a new statistic */
- void unregisterStat(Stat* s) throw(CVC4::IllegalArgumentException);
+ void unregisterStat(Stat* s);
};/* class StatisticsRegistry */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback