]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Avoid a C++11ism. 1056/head
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 29 Jun 2015 14:43:36 +0000 (09:43 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 29 Jun 2015 14:43:36 +0000 (09:43 -0500)
tests/deal.II/error_estimator_02.cc

index a1ad203e30c51738b572274b7f68bbf9a4965a60..81e9cb364ffe9c110bd0e5c40670a9f45cfa73ff 100644 (file)
@@ -241,7 +241,7 @@ void output(const std::string          name,
                            std::string("error"));
   data_out.build_patches ();
 
-  std::ofstream output (name);
+  std::ofstream output (name.c_str());
   data_out.write_vtu (output);
 }
 

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.