[MOAB-dev] r3313 - MOAB/trunk
    kraftche at cae.wisc.edu 
    kraftche at cae.wisc.edu
       
    Mon Nov  9 16:23:13 CST 2009
    
    
  
Author: kraftche
Date: 2009-11-09 16:23:13 -0600 (Mon, 09 Nov 2009)
New Revision: 3313
Modified:
   MOAB/trunk/TagInfo.hpp
Log:
treat NULL char* the same as an empty string
Modified: MOAB/trunk/TagInfo.hpp
===================================================================
--- MOAB/trunk/TagInfo.hpp	2009-11-09 21:33:55 UTC (rev 3312)
+++ MOAB/trunk/TagInfo.hpp	2009-11-09 22:23:13 UTC (rev 3313)
@@ -122,7 +122,7 @@
    mMeshValueSize(0),
    mDataSize(size),
    dataType(type),
-   mTagName(name),
+   mTagName(name ? name : ""),
    isValid(true)
 {
   if (default_value) {
    
    
More information about the moab-dev
mailing list