mirror of
https://github.com/Z3Prover/z3
synced 2025-08-21 18:50:26 +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:
parent
70bcf0b51d
commit
73a24ca0a9
90 changed files with 99 additions and 95 deletions
|
@ -20,6 +20,7 @@ Revision History:
|
|||
|
||||
#include "ast/ast.h"
|
||||
#include "ast/ast_smt2_pp.h"
|
||||
#include <ostream>
|
||||
|
||||
class ast_printer {
|
||||
public:
|
||||
|
@ -46,8 +47,8 @@ class ast_printer_context : public ast_printer {
|
|||
public:
|
||||
~ast_printer_context() override {}
|
||||
virtual ast_manager & get_ast_manager() = 0;
|
||||
virtual std::ostream & regular_stream() { return std::cout; }
|
||||
virtual std::ostream & diagnostic_stream() { return std::cerr; }
|
||||
virtual std::ostream & regular_stream();
|
||||
virtual std::ostream & diagnostic_stream();
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue