summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2018-01-15 22:47:40 -0800
committerGitHub <noreply@github.com>2018-01-15 22:47:40 -0800
commit4538f5fe95758f2507c191ab39175491f24e6f67 (patch)
tree9b288d3601692488e02c10adebf7f90b227981a0 /src/theory/theory_engine.cpp
parent9ee67c0d1180c7cf85fb648b57bb47100db3d633 (diff)
Removing more miscellaneous throw specifiers. (#1509)
Removing more miscellaneous throw specifiers. Also fixing the spelling of amount in several places.
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r--src/theory/theory_engine.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index 4e2062c43..435dadce7 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -370,10 +370,7 @@ TheoryEngine::~TheoryEngine() {
smtStatisticsRegistry()->unregisterStat(&d_arithSubstitutionsAdded);
}
-void TheoryEngine::interrupt() throw(ModalException) {
- d_interrupted = true;
-}
-
+void TheoryEngine::interrupt() { d_interrupted = true; }
void TheoryEngine::preRegister(TNode preprocessed) {
Debug("theory") << "TheoryEngine::preRegister( " << preprocessed << ")" << std::endl;
@@ -2320,8 +2317,9 @@ std::pair<bool, Node> TheoryEngine::entailmentCheck(theory::TheoryOfMode mode, T
}
}
-void TheoryEngine::spendResource(unsigned ammount) {
- d_resourceManager->spendResource(ammount);
+void TheoryEngine::spendResource(unsigned amount)
+{
+ d_resourceManager->spendResource(amount);
}
void TheoryEngine::enableTheoryAlternative(const std::string& name){
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback