Skip to content

Commit

Permalink
ebmc: use console colors for --show-formula
Browse files Browse the repository at this point in the history
This enables the use of console colors when --show-formula is used without
--outfile.
  • Loading branch information
kroening committed Dec 2, 2023
1 parent d4ed123 commit 76658a2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ebmc/ebmc_solver_factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,8 @@ ebmc_solver_factoryt ebmc_solver_factory(const cmdlinet &cmdline)
}
else
{
return [](const namespacet &, message_handlert &)
{
auto dec = std::make_unique<show_formula_solvert>(std::cout);
return [](const namespacet &, message_handlert &) {
auto dec = std::make_unique<show_formula_solvert>();
return ebmc_solvert{std::move(dec)};
};
}
Expand Down

0 comments on commit 76658a2

Please sign in to comment.