summaryrefslogtreecommitdiff
path: root/src/theory/arith/congruence_manager.h
diff options
context:
space:
mode:
authorMathias Preiner <mathias.preiner@gmail.com>2018-09-05 14:31:11 -0700
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-09-05 16:31:11 -0500
commit90b90bdfad8c5fbf0f3208e7282fee6dd58aafc0 (patch)
tree2382e87cacab179b7d74225c9a71e7043502911f /src/theory/arith/congruence_manager.h
parent1c6b193a3a843b37e5248505f9004f6d1bb0dca7 (diff)
Use std::uniqe_ptr for d_eq_infer to make Coverity happy. (#2432)
Diffstat (limited to 'src/theory/arith/congruence_manager.h')
-rw-r--r--src/theory/arith/congruence_manager.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/theory/arith/congruence_manager.h b/src/theory/arith/congruence_manager.h
index 278c79a2f..11c229399 100644
--- a/src/theory/arith/congruence_manager.h
+++ b/src/theory/arith/congruence_manager.h
@@ -77,10 +77,11 @@ private:
void eqNotifyDisequal(TNode t1, TNode t2, TNode reason) override;
};
ArithCongruenceNotify d_notify;
-
- /** module for shostak normalization, d_eqi_counter is how many pending merges in d_eq_infer we have processed */
- quantifiers::EqualityInference * d_eq_infer;
- context::CDO< unsigned > d_eqi_counter;
+
+ /** module for shostak normalization, d_eqi_counter is how many pending merges
+ * in d_eq_infer we have processed */
+ std::unique_ptr<quantifiers::EqualityInference> d_eq_infer;
+ context::CDO<unsigned> d_eqi_counter;
Node d_true;
context::CDList<Node> d_keepAlive;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback