[cig-commits] commit 2463 by heister to /var/svn/dealii/aspect

dealii.demon at gmail.com dealii.demon at gmail.com
Thu Apr 10 05:58:03 PDT 2014


Revision 2463

fix broken string cat in error message

U   trunk/aspect/source/postprocess/visualization.cc


http://www.dealii.org/websvn/revision.php?repname=Aspect+Repository&path=%2F&rev=2463&peg=2463

Diff:
Modified: trunk/aspect/source/postprocess/visualization.cc
===================================================================
--- trunk/aspect/source/postprocess/visualization.cc	2014-04-10 12:57:33 UTC (rev 2462)
+++ trunk/aspect/source/postprocess/visualization.cc	2014-04-10 12:58:01 UTC (rev 2463)
@@ -455,11 +455,13 @@
 	// assemble the error message completely, and then output it atomically
         if (tmp_file_desc == -1)
           {
-	    std::string x ("***** WARNING: could not create temporary file, will "
-			   "output directly to final location. This may negatively "
-			   "affect performance."
-			   " (On processor ");
-	    x += Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) + ".)
";
+	    std::string x = std::string(
+	      "***** WARNING: could not create temporary file, will "
+	      "output directly to final location. This may negatively "
+	      "affect performance. (On processor ")
+			    + Utilities::int_to_string(
+			      Utilities::MPI::this_mpi_process (MPI_COMM_WORLD))
+			    + ".)
";
 
 	    std::cerr << x << std::flush;
 	    


More information about the CIG-COMMITS mailing list