summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSet.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2000-12-13 02:15:31 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2000-12-13 02:15:31 (GMT)
commit9cbeb3c53f0d34d8e2b7cca0fbaab8ec55179066 (patch)
treebdabb7f53c51b873b76b0d55e4548af592fb357d /c++/src/H5DataSet.cpp
parentb72e8ae6b9d9476e8060a9a8f0e0c8058db2591b (diff)
downloadhdf5-9cbeb3c53f0d34d8e2b7cca0fbaab8ec55179066.zip
hdf5-9cbeb3c53f0d34d8e2b7cca0fbaab8ec55179066.tar.gz
hdf5-9cbeb3c53f0d34d8e2b7cca0fbaab8ec55179066.tar.bz2
[svn-r3121] Purpose:
Fix and improve Description: - Put functions that are common to H5File and Group into a prototype class, CommonFG. I didn't do that before because of the fear of the consequences of multiple inheritance, since H5File and Group already inherit from different super classes. I recently read a C++ book and learned to use MI more safely. This change reduced some more of code redundancy. - Added missing const to some function parameters - Added missing return statements for some functions. Platforms tested: Solaris/CC 5.0 (arabica)
Diffstat (limited to 'c++/src/H5DataSet.cpp')
-rw-r--r--c++/src/H5DataSet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5DataSet.cpp b/c++/src/H5DataSet.cpp
index efdf8a2..aed8d70 100644
--- a/c++/src/H5DataSet.cpp
+++ b/c++/src/H5DataSet.cpp
@@ -102,7 +102,7 @@ hsize_t DataSet::getVlenBufSize( DataType& type, DataSpace& space ) const
//{
//throw DataSetIException();
//}
- return(-1);
+ return (-1);
}
// Reclaims VL datatype memory buffers.