[MOAB-dev] r4719 - MOAB/trunk/src/io

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Apr 6 12:04:08 CDT 2011


Author: kraftche
Date: 2011-04-06 12:04:08 -0500 (Wed, 06 Apr 2011)
New Revision: 4719

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
   MOAB/trunk/src/io/ReadHDF5VarLen.hpp
Log:
fix a few warnings

Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2011-04-06 16:46:02 UTC (rev 4718)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2011-04-06 17:04:08 UTC (rev 4719)
@@ -1704,6 +1704,7 @@
                : ReadHDF5VarLen( dbg, buffer, buffer_size ),
                  type(elem_type), readHDF5(owner) 
                {}
+    virtual ~PolyReader() {}
     ErrorCode store_data( EntityHandle file_id, void* data, long len, bool )
     {
       size_t valid;
@@ -2520,6 +2521,7 @@
                       readHDF5(moab),
                       startHandle(start_handle)
                     {}
+    virtual ~ReadSetChildren() {}
     ErrorCode store_data( EntityHandle file_id, void* data, long len, bool ) 
     {
       EntityHandle h = startHandle++;
@@ -2574,6 +2576,7 @@
                       readHDF5(moab),
                       startHandle(start_handle)
                     {}
+    virtual ~ReadSetParents() {}
     ErrorCode store_data( EntityHandle file_id, void* data, long len, bool ) 
     {
       EntityHandle h = startHandle++;
@@ -2639,7 +2642,7 @@
                     : ReadHDF5VarLen(dbg_out, buffer, buffer_size),
                       resultList(result_set) 
                     {}
-
+    virtual ~GetContentList() {}
     ErrorCode store_data( EntityHandle, void* data, long len, bool ranged ) 
     {
       EntityHandle* array = reinterpret_cast<EntityHandle*>(data);

Modified: MOAB/trunk/src/io/ReadHDF5VarLen.hpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5VarLen.hpp	2011-04-06 16:46:02 UTC (rev 4718)
+++ MOAB/trunk/src/io/ReadHDF5VarLen.hpp	2011-04-06 17:04:08 UTC (rev 4719)
@@ -74,6 +74,8 @@
         bufferSize( buffer_size )
     {}
     
+    virtual ~ReadHDF5VarLen() {}
+    
       /**\brief Do actual read of data set
        *\param data_set         The data set to read.  
        *\param file_ids         The file ids of the entities to read.


More information about the moab-dev mailing list