mirror of
https://github.com/Z3Prover/z3
synced 2025-08-26 04:56:03 +00:00
refactoring to use for-range
This commit is contained in:
parent
7ebe7c46b9
commit
47c12f9a18
7 changed files with 20 additions and 26 deletions
|
@ -488,7 +488,7 @@ void goal::shrink(unsigned j) {
|
|||
*/
|
||||
void goal::elim_true() {
|
||||
unsigned i = 0, j = 0;
|
||||
for (auto [f, dep, pr] : *this) {
|
||||
for (const auto& [f, dep, pr] : *this) {
|
||||
if (m().is_true(f)) {
|
||||
++i;
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue