[MOAB-dev] r1235 - MOAB/trunk/tools/iMesh/SIDL

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Thu Aug 16 11:17:03 CDT 2007


Author: kraftche
Date: 2007-08-16 11:17:02 -0500 (Thu, 16 Aug 2007)
New Revision: 1235

Modified:
   MOAB/trunk/tools/iMesh/SIDL/testcxx.cpp
Log:
use _create() for MOAB-specific SIDL class rather than factory method because MOAB currently doesn't implement the factory.  Fixes compile error.

Modified: MOAB/trunk/tools/iMesh/SIDL/testcxx.cpp
===================================================================
--- MOAB/trunk/tools/iMesh/SIDL/testcxx.cpp	2007-08-15 15:33:58 UTC (rev 1234)
+++ MOAB/trunk/tools/iMesh/SIDL/testcxx.cpp	2007-08-16 16:17:02 UTC (rev 1235)
@@ -2181,7 +2181,8 @@
   iMesh::Mesh mesh;
   std::string options;
   try {
-    iMesh_SIDL::MeshSidl::newMesh(options, mesh);
+//    iMesh_SIDL::MeshSidl::newMesh(options, mesh);
+    mesh = iMesh_SIDL::MeshSidl::_create();
   }
   catch (iBase::Error err) {
     cout << "Trouble creating a mesh instance." << endl;




More information about the moab-dev mailing list