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

dealii.demon at gmail.com dealii.demon at gmail.com
Wed Aug 14 04:31:30 PDT 2013


Revision 1839

Minor cleanup.

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


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

Diff:
Modified: trunk/aspect/source/postprocess/visualization.cc
===================================================================
--- trunk/aspect/source/postprocess/visualization.cc	2013-08-13 15:30:01 UTC (rev 1838)
+++ trunk/aspect/source/postprocess/visualization.cc	2013-08-14 11:30:50 UTC (rev 1839)
@@ -261,8 +261,8 @@
 
               // now also generate a .pvd file that matches simulation
               // time and corresponding .pvtu record
-              times_and_pvtu_names.push_back(std::pair<double,std::string>
-                                             (this->get_time(), pvtu_master_filename));
+              times_and_pvtu_names.push_back(std::make_pair(this->get_time(),
+                                                            pvtu_master_filename));
               const std::string
               pvd_master_filename = (this->get_output_directory() + "solution.pvd");
               std::ofstream pvd_master (pvd_master_filename.c_str());


More information about the CIG-COMMITS mailing list