summaryrefslogtreecommitdiffstats
path: root/c++/src/H5AbstractDs.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2015-10-11 04:05:21 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2015-10-11 04:05:21 (GMT)
commitfc84edb7e3514556e1b5cbd5268d35fcf21054b6 (patch)
tree06d36bc6f55016fc2be2dffe019a7c16f094da7e /c++/src/H5AbstractDs.h
parentcd49e8a2abcd1a6fd1a4ac578cc208e2bbad1914 (diff)
downloadhdf5-fc84edb7e3514556e1b5cbd5268d35fcf21054b6.zip
hdf5-fc84edb7e3514556e1b5cbd5268d35fcf21054b6.tar.gz
hdf5-fc84edb7e3514556e1b5cbd5268d35fcf21054b6.tar.bz2
[svn-r28027] Purpose: Fix memory leaks
Description: - Removed H5Library::instance because it is unnecessary. All H5Library's methods are static. This, in turn, removed the memory leaks by H5Library::instance not being deleted. - Added ObjCreatPropList::deleteConstants to atexist() list - Cleaned up comments and format inconsistencies with 1.8 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5AbstractDs.h')
-rw-r--r--c++/src/H5AbstractDs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5AbstractDs.h b/c++/src/H5AbstractDs.h
index 810dc8b..ee2e45e 100644
--- a/c++/src/H5AbstractDs.h
+++ b/c++/src/H5AbstractDs.h
@@ -68,7 +68,7 @@ class H5_DLLCPP AbstractDs {
///\brief Returns the amount of storage size required - pure virtual.
virtual hsize_t getStorageSize() const = 0;
- ///\brief Returns this class name.
+ // Returns this class name - pure virtual.
virtual H5std_string fromClass() const = 0;
// Destructor
@@ -91,7 +91,7 @@ class H5_DLLCPP AbstractDs {
// AbstractDs( const AbstractDs& original );
private:
- // This member function is implemented by DataSet and Attribute.
+ // This member function is implemented by DataSet and Attribute - pure virtual.
virtual hid_t p_get_type() const = 0;
};
#ifndef H5_NO_NAMESPACE