]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use C++11 functionality. 12261/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 20 May 2021 15:42:08 +0000 (09:42 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Thu, 20 May 2021 15:42:08 +0000 (09:42 -0600)
tests/tests.h

index 533f335a723209e5f8cd8b2d8ea58cb52f483e14..f02a974dfc16dfb6b7155604c0145fd8ace5c449 100644 (file)
@@ -501,7 +501,7 @@ initlog(bool                          console = false,
                                               std::ios::left)
 {
   deallogname = "output";
-  deallogfile.open(deallogname.c_str());
+  deallogfile.open(deallogname);
   deallog.attach(deallogfile, true, flags);
   deallog.depth_console(console ? 10 : 0);
 }

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.