# HG changeset patch # User alpar # Date 1089113300 0 # Node ID 48aa9ace1d7deecbf41ee91d6c5e54aba52e3c39 # Parent 887c551fb0aa93d1bd20172aec5280485c65a39c Example in the doc is corrected. diff -r 887c551fb0aa -r 48aa9ace1d7d src/hugo/time_measure.h --- a/src/hugo/time_measure.h Tue Jul 06 11:27:36 2004 +0000 +++ b/src/hugo/time_measure.h Tue Jul 06 11:28:20 2004 +0000 @@ -127,17 +127,20 @@ ///Class measuring the cpu time and real time usage of the process. ///It is quite easy-to-use, here is a short example. ///\code + ///#include + ///#include + ///int main() ///{ /// /// ... /// - /// Timer T(); + /// Timer T; /// doSomething(); - /// cout << T; + /// std::cout << T << '\n'; /// T.reset(); /// doSomethingElse(); - /// cout << T; + /// std::cout << T << '\n'; /// /// ... ///