3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-19 10:52:02 +00:00

remove '#include <iostream>' from headers and from unneeded places

It's harmful to have iostream everywhere as it injects functions in the compiled files
This commit is contained in:
Nuno Lopes 2022-06-17 14:10:19 +01:00
parent 70bcf0b51d
commit 73a24ca0a9
90 changed files with 99 additions and 95 deletions

View file

@ -818,11 +818,12 @@ namespace sat {
lbool r = s.check();
IF_VERBOSE(10, verbose_stream() << "check: " << r << "\n");
if (r == l_true) {
std::sort(vars.begin(), vars.end());
s.display(std::cout);
for (auto v : vars) std::cout << v << " := " << s.get_model()[v] << "\n";
std::string line;
std::getline(std::cin, line);
IF_VERBOSE(0,
std::sort(vars.begin(), vars.end());
s.display(verbose_stream());
for (auto v : vars) verbose_stream() << v << " := " << s.get_model()[v] << "\n";
);
UNREACHABLE();
}
}
};