Skip to content

Commit 07ef750

Browse files
committed
Do not shadow "solvers"
This was fixed in d6da5dd, but got replaced by the work on solver factories.
1 parent 75216f4 commit 07ef750

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

unit/path_strategies.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,9 @@ void _check_with_strategy(
377377
ret = cbmc_parse_optionst::get_goto_program(gm, opts, cmdline, log, mh);
378378
REQUIRE(ret == -1);
379379

380-
solver_factoryt solvers(opts, gm.get_symbol_table(), mh, false);
381-
std::unique_ptr<solver_factoryt::solvert> cbmc_solver = solvers.get_solver();
380+
solver_factoryt initial_solvers(opts, gm.get_symbol_table(), mh, false);
381+
std::unique_ptr<solver_factoryt::solvert> cbmc_solver =
382+
initial_solvers.get_solver();
382383
prop_convt &initial_pc = cbmc_solver->prop_conv();
383384
std::function<bool(void)> callback = []() { return false; };
384385

0 commit comments

Comments
 (0)