]> https://gitweb.dealii.org/ - dealii.git/commitdiff
use initlog() 6692/head
authorDenis Davydov <davydden@gmail.com>
Tue, 29 May 2018 22:50:01 +0000 (00:50 +0200)
committerDenis Davydov <davydden@gmail.com>
Tue, 29 May 2018 22:50:01 +0000 (00:50 +0200)
tests/base/timer_08.cc

index dd2aea993958a51baa273364bf4b32f486732332..dcb70831168d4e2e7b7889ec42ad47c22f65e001 100644 (file)
@@ -64,8 +64,7 @@ test(TimerOutput::OutputType output_type)
 int
 main()
 {
-  std::ofstream logfile("output");
-  deallog.attach(logfile);
+  initlog();
 
   deallog << "cpu_times:" << std::endl;
   test(TimerOutput::cpu_times);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.