[cig-commits] r21656 - short/3D/PyLith/trunk/libsrc/pylith/meshio

brad at geodynamics.org brad at geodynamics.org
Wed Mar 27 13:02:15 PDT 2013


Author: brad
Date: 2013-03-27 13:02:15 -0700 (Wed, 27 Mar 2013)
New Revision: 21656

Modified:
   short/3D/PyLith/trunk/libsrc/pylith/meshio/DataWriter.cc
   short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc
Log:
Use std namespace.

Modified: short/3D/PyLith/trunk/libsrc/pylith/meshio/DataWriter.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/meshio/DataWriter.cc	2013-03-27 20:01:51 UTC (rev 21655)
+++ short/3D/PyLith/trunk/libsrc/pylith/meshio/DataWriter.cc	2013-03-27 20:02:15 UTC (rev 21656)
@@ -74,7 +74,7 @@
   const ALE::Obj<typename mesh_type::SieveMesh>& sieveMesh = mesh.sieveMesh();
   assert(!sieveMesh.isNull());
 
-  ostringstream s;
+  std::ostringstream s;
   s << "output_"
     << sieveMesh->getName();
   if (label)

Modified: short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc
===================================================================
--- short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc	2013-03-27 20:01:51 UTC (rev 21655)
+++ short/3D/PyLith/trunk/libsrc/pylith/meshio/OutputSolnPoints.cc	2013-03-27 20:02:15 UTC (rev 21656)
@@ -229,12 +229,12 @@
   // field if mismatch in size between buffer and field.
   ALE::MemoryLogger& logger = ALE::MemoryLogger::singleton();
   logger.stagePush("Output");
-  ostringstream fieldName;
+  std::ostringstream fieldName;
   const char   *context = field.label();
   fieldName << context << " (interpolated)" << std::endl;
 
   if (_fields->hasField(fieldName.str().c_str())) {
-    ostringstream msg;
+    std::ostringstream msg;
     msg << "Field " << fieldName << "already present in manager" << std::endl;
     throw std::logic_error(msg.str());
   } // if



More information about the CIG-COMMITS mailing list