mirror of
https://github.com/Z3Prover/z3
synced 2026-01-27 12:28:43 +00:00
Refactor dyn_ack propagate_eh to use structured bindings (#8317)
* Initial plan * Refactor dyn_ack propagate_eh to use C++17 structured bindings 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
39b9038449
commit
1cf9ba152b
1 changed files with 4 additions and 4 deletions
|
|
@ -379,16 +379,16 @@ namespace smt {
|
|||
}
|
||||
unsigned max_instances = static_cast<unsigned>(m_context.get_num_conflicts() * m_params.m_dack_factor);
|
||||
while (m_num_instances < max_instances && m_qhead < m_to_instantiate.size()) {
|
||||
app_pair & p = m_to_instantiate[m_qhead];
|
||||
auto& [first, second] = m_to_instantiate[m_qhead];
|
||||
m_qhead++;
|
||||
m_num_instances++;
|
||||
instantiate(p.first, p.second);
|
||||
instantiate(first, second);
|
||||
}
|
||||
while (m_num_instances < max_instances && m_triple.m_qhead < m_triple.m_to_instantiate.size()) {
|
||||
app_triple & p = m_triple.m_to_instantiate[m_triple.m_qhead];
|
||||
auto& [first, second, third] = m_triple.m_to_instantiate[m_triple.m_qhead];
|
||||
m_triple.m_qhead++;
|
||||
m_num_instances++;
|
||||
instantiate(p.first, p.second, p.third);
|
||||
instantiate(first, second, third);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue