3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-22 02:57:50 +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

@ -26,6 +26,7 @@ Revision History:
#include "ast/scoped_proof.h"
#include "ast/bv_decl_plugin.h"
#include "muz/rel/tbv.h"
#include <iostream>
namespace datalog {
@ -224,9 +225,9 @@ namespace datalog {
}
void display_statistics(std::ostream& out) const {
std::cout << "Number of insertions: " << m_stats.m_num_inserts << "\n";
std::cout << "Number of comparisons: " << m_stats.m_num_comparisons << "\n";
std::cout << "Number of nodes: " << size() << "\n";
out << "Number of insertions: " << m_stats.m_num_inserts << "\n"
"Number of comparisons: " << m_stats.m_num_comparisons << "\n"
"Number of nodes: " << size() << "\n";
}
void display(std::ostream& out) const {