mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 12:23:38 +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
|
@ -21,11 +21,14 @@ Revision History:
|
|||
--*/
|
||||
#pragma once
|
||||
|
||||
#include<ostream>
|
||||
|
||||
class timeit {
|
||||
struct imp;
|
||||
imp * m_imp;
|
||||
public:
|
||||
timeit(bool enable, char const * msg, std::ostream & out = std::cerr);
|
||||
timeit(bool enable, char const * msg, std::ostream * out = nullptr);
|
||||
timeit(bool enable, char const * msg, std::ostream & out) : timeit(enable, msg, &out) {}
|
||||
~timeit();
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue