diff options
author | Tim King <taking@google.com> | 2017-03-27 10:24:13 -0700 |
---|---|---|
committer | Tim King <taking@google.com> | 2017-03-27 10:24:13 -0700 |
commit | 4930de53415ffbf614d6965af59b1f44e405451c (patch) | |
tree | 5fb07f7dfbf7b358c6d79a92d8af6376e33147cf /src/theory/theory_engine.cpp | |
parent | 09d14ac7f81111882327cb168f100e9f998611ac (diff) |
Making ppNotifyAssertions take a const vector.
Diffstat (limited to 'src/theory/theory_engine.cpp')
-rw-r--r-- | src/theory/theory_engine.cpp | 10 |
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); } } } |