3
0
Fork 0
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:
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

@ -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();
};