mirror of
https://github.com/Z3Prover/z3
synced 2026-01-18 16:28:56 +00:00
Replace remaining NULL with nullptr (#8198)
* Initial plan * Replace NULL with nullptr in spacer_context.cpp Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
parent
896e297bd4
commit
e7f9a31b25
1 changed files with 2 additions and 2 deletions
|
|
@ -2837,7 +2837,7 @@ unsigned context::get_cex_depth()
|
|||
SASSERT (preds.size () == 1);
|
||||
pts.push_back (&(get_pred_transformer (preds[0])));
|
||||
|
||||
pts.push_back (NULL); // cex depth marker
|
||||
pts.push_back (nullptr); // cex depth marker
|
||||
|
||||
// bfs traversal of the query derivation tree
|
||||
for (unsigned curr = 0; curr < pts.size (); curr++) {
|
||||
|
|
@ -2847,7 +2847,7 @@ unsigned context::get_cex_depth()
|
|||
if (pt == nullptr) {
|
||||
++cex_depth;
|
||||
// insert new marker if there are pts at higher depth
|
||||
if (curr + 1 < pts.size()) { pts.push_back(NULL); }
|
||||
if (curr + 1 < pts.size()) { pts.push_back(nullptr); }
|
||||
continue;
|
||||
}
|
||||
fact = facts.get (curr - cex_depth); // discount the number of markers
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue