mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +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
|
@ -19,7 +19,7 @@ Revision History:
|
|||
--*/
|
||||
#pragma once
|
||||
|
||||
#include<iostream>
|
||||
#include<ostream>
|
||||
class model_core;
|
||||
|
||||
void model_pp(std::ostream & out, model_core const & m);
|
||||
|
|
|
@ -18,6 +18,7 @@ Revision History:
|
|||
#include "model/model_v2_pp.h"
|
||||
#include "model/model_core.h"
|
||||
#include "ast/ast_pp.h"
|
||||
#include <iostream>
|
||||
|
||||
static void display_function(std::ostream & out, model_core const & md, func_decl * f, bool partial) {
|
||||
ast_manager & m = md.get_manager();
|
||||
|
|
|
@ -17,7 +17,7 @@ Revision History:
|
|||
--*/
|
||||
#pragma once
|
||||
|
||||
#include<iostream>
|
||||
#include<ostream>
|
||||
class model_core;
|
||||
|
||||
void model_v2_pp(std::ostream & out, model_core const & m, bool partial = false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue