diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-04-25 19:00:17 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2017-04-25 19:00:17 (GMT) |
commit | 4bc55bbf94d7fce7521b2efd766f677ca45c9ecc (patch) | |
tree | 20d9c672f686e97e2390972d73e71efe4b67cf55 /c++/src/H5CommonFG.cpp | |
parent | 432435b158ea2889d971390a60fd24eae31561d0 (diff) | |
download | hdf5-4bc55bbf94d7fce7521b2efd766f677ca45c9ecc.zip hdf5-4bc55bbf94d7fce7521b2efd766f677ca45c9ecc.tar.gz hdf5-4bc55bbf94d7fce7521b2efd766f677ca45c9ecc.tar.bz2 |
Code clean-up.
Description:
- Removed function prototypes left in by mistake
- Moved H5Location::getNumObjs() to class Group because the C
function in this wrapper only takes a group or file id.
- Moved H5Object::getNumAttrs to H5Location because the C function
in this wrapper can also take an attribute id.
- Misc improvements in comments
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
Diffstat (limited to 'c++/src/H5CommonFG.cpp')
-rw-r--r-- | c++/src/H5CommonFG.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/c++/src/H5CommonFG.cpp b/c++/src/H5CommonFG.cpp index c9c203a..baa52a2 100644 --- a/c++/src/H5CommonFG.cpp +++ b/c++/src/H5CommonFG.cpp @@ -64,7 +64,8 @@ DataType CommonFG::openDataType(const char* name) const throwException("openDataType", "H5Topen2 failed"); // No failure, create and return the DataType object - DataType data_type(type_id); + DataType data_type; + f_DataType_setId(&data_type, type_id); return(data_type); } |