X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2Ftiming.h;h=a4be4f7302dbb73651eb88ee4e729933e327868a;hb=5d71bfe6f159f7e6cce904d90bec77ddc8e09fd0;hp=76883ba7fff44e8807e44c5036bf561612244c1a;hpb=f57f23a99a4ec8ded1faf4d61e0fb4fc6127419a;p=cln.git diff --git a/include/cln/timing.h b/include/cln/timing.h index 76883ba..a4be4f7 100644 --- a/include/cln/timing.h +++ b/include/cln/timing.h @@ -47,13 +47,13 @@ extern const cl_time_consumption cl_current_time_consumption (); // Report a time consumption. // (Should better be a virtual member function of `cl_time_consumption'). -extern void cl_timing_report (cl_ostream, const cl_time_consumption&); +extern void cl_timing_report (std::ostream&, const cl_time_consumption&); struct cl_timing { // Constructor, starts the time interval. cl_timing (cl_time_consumption& accumulator); - cl_timing (cl_ostream destination = std::cerr); - cl_timing (const char *, cl_ostream destination = std::cerr); + cl_timing (std::ostream& destination = std::cerr); + cl_timing (const char *, std::ostream& destination = std::cerr); // Destructor, closes the time interval and does a report. ~cl_timing (); //private: