summaryrefslogtreecommitdiffstats
path: root/c++/src/H5CommonFG.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2015-04-06 17:46:54 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2015-04-06 17:46:54 (GMT)
commit4275900a7b99b2e23f13df54ba24159960fc86b5 (patch)
tree716338fc6f597ea0c10c1e6181d63b3349102fae /c++/src/H5CommonFG.h
parentb9e5e2af4e31b0a60c2d2f6421fb1b3cb9aa0564 (diff)
downloadhdf5-4275900a7b99b2e23f13df54ba24159960fc86b5.zip
hdf5-4275900a7b99b2e23f13df54ba24159960fc86b5.tar.gz
hdf5-4275900a7b99b2e23f13df54ba24159960fc86b5.tar.bz2
[svn-r26737] Purpose: Fix daily test failure
Description: - In DataType::DataType(const PredType& pred_type), using DataType::copy will invoke DataType::close() unnecessarily, which will produce undefined behavior. Changed to call H5Tcopy directly, code reuse is not useful in this case. - Also, fixed CommonFG::childObjVersion to return expected value outside of an if/else block. Platforms tested: Linux/ppc64 (ostrich) Linux/64 (platypus) Linux/32 2.6 (jam)
Diffstat (limited to 'c++/src/H5CommonFG.h')
-rw-r--r--c++/src/H5CommonFG.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/c++/src/H5CommonFG.h b/c++/src/H5CommonFG.h
index b726e52..d36d78c 100644
--- a/c++/src/H5CommonFG.h
+++ b/c++/src/H5CommonFG.h
@@ -21,6 +21,7 @@
namespace H5 {
#endif
+// Class forwarding
class Group;
class H5File;
class ArrayType;