]> https://gitweb.dealii.org/ - dealii.git/commitdiff
fix tests/lac/la_vector_output 1939/head
authorTimo Heister <timo.heister@gmail.com>
Thu, 3 Dec 2015 14:03:43 +0000 (09:03 -0500)
committerTimo Heister <timo.heister@gmail.com>
Thu, 3 Dec 2015 14:03:43 +0000 (09:03 -0500)
ofstream std::string constructor would require c++11

tests/lac/la_vector_output.cc

index 0aeb7d89d391fec552da31ac041fd9a6b52a3da2..0e6211bcf5ed39786f02d7f7f0561538123c1f01 100644 (file)
@@ -25,7 +25,7 @@
 
 void test()
 {
-  std::string filename("test.txt");
+  const char *filename = "test.txt";
   const unsigned int size(10);
   LinearAlgebra::Vector<double> vec(size);
   for (unsigned int i=0; i<size; ++i)

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.