summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.cpp
diff options
context:
space:
mode:
authorTim King <taking@google.com>2017-03-27 10:24:13 -0700
committerTim King <taking@google.com>2017-03-27 10:24:13 -0700
commit4930de53415ffbf614d6965af59b1f44e405451c (patch)
tree5fb07f7dfbf7b358c6d79a92d8af6376e33147cf /src/theory/theory_engine.cpp
parent09d14ac7f81111882327cb168f100e9f998611ac (diff)
Making ppNotifyAssertions take a const vector.
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r--src/theory/theory_engine.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/theory/theory_engine.cpp b/src/theory/theory_engine.cpp
index a68625da8..d297595e1 100644
--- a/src/theory/theory_engine.cpp
+++ b/src/theory/theory_engine.cpp
@@ -1146,11 +1146,13 @@ Node TheoryEngine::preprocess(TNode assertion) {
return d_ppCache[assertion];
}
-void TheoryEngine::notifyPreprocessedAssertions( std::vector< Node >& assertions ){
+void TheoryEngine::notifyPreprocessedAssertions(
+ const std::vector<Node>& assertions) {
// call all the theories
- for(TheoryId theoryId = theory::THEORY_FIRST; theoryId < theory::THEORY_LAST; ++theoryId) {
- if(d_theoryTable[theoryId]) {
- theoryOf(theoryId)->ppNotifyAssertions( assertions );
+ for (TheoryId theoryId = theory::THEORY_FIRST; theoryId < theory::THEORY_LAST;
+ ++theoryId) {
+ if (d_theoryTable[theoryId]) {
+ theoryOf(theoryId)->ppNotifyAssertions(assertions);
}
}
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback