summaryrefslogtreecommitdiff
path: root/src/expr/lazy_proof_chain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/expr/lazy_proof_chain.cpp')
-rw-r--r--src/expr/lazy_proof_chain.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/expr/lazy_proof_chain.cpp b/src/expr/lazy_proof_chain.cpp
index c58bb78e4..665e68d28 100644
--- a/src/expr/lazy_proof_chain.cpp
+++ b/src/expr/lazy_proof_chain.cpp
@@ -41,7 +41,7 @@ const std::map<Node, std::shared_ptr<ProofNode>> LazyCDProofChain::getLinks()
const
{
std::map<Node, std::shared_ptr<ProofNode>> links;
- for (const std::pair<const Node, ProofGenerator*>& link : d_gens)
+ for (const std::pair<const Node, ProofGenerator* const>& link : d_gens)
{
Assert(link.second);
std::shared_ptr<ProofNode> pfn = link.second->getProofFor(link.first);
@@ -269,7 +269,7 @@ void LazyCDProofChain::addLazyStep(Node expected,
std::shared_ptr<ProofNode> pfn = pg->getProofFor(expected);
std::vector<Node> allowedLeaves{assumptions.begin(), assumptions.end()};
// add all current links in the chain
- for (const std::pair<const Node, ProofGenerator*>& link : d_gens)
+ for (const std::pair<const Node, ProofGenerator* const>& link : d_gens)
{
allowedLeaves.push_back(link.first);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback