diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-02-16 13:47:46 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-02-16 13:47:46 (GMT) |
commit | a9283319a942032022384a1c3560a3f92ded36bf (patch) | |
tree | 4e5653e25b3c90284488a2b0d38323a2e1ddd942 /c++/test/tarray.cpp | |
parent | e1046db0e68f8188df4edc20ddc364a50500ad77 (diff) | |
parent | 6c212353c45ef84b5c977c6019e4d72263534aea (diff) | |
download | hdf5-a9283319a942032022384a1c3560a3f92ded36bf.zip hdf5-a9283319a942032022384a1c3560a3f92ded36bf.tar.gz hdf5-a9283319a942032022384a1c3560a3f92ded36bf.tar.bz2 |
Merge pull request #1547 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp5:develop to develop
C++ wrapper for H5Ovisit2
* commit '6c212353c45ef84b5c977c6019e4d72263534aea':
Code improvement
Removed an extra "using" statement
Adding documentation
Added C++ wrapper for H5Ovisit2
Adding a C++ wrapper
Diffstat (limited to 'c++/test/tarray.cpp')
-rw-r--r-- | c++/test/tarray.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/c++/test/tarray.cpp b/c++/test/tarray.cpp index 6bd4ca6..fccc556 100644 --- a/c++/test/tarray.cpp +++ b/c++/test/tarray.cpp @@ -286,7 +286,7 @@ H5::DataType getArr() *dims = 5; H5::ArrayType ret; ret = H5::ArrayType(H5::PredType::NATIVE_INT, 1, dims); - delete[] dims; + delete dims; return ret; } @@ -371,7 +371,6 @@ static void test_array_info() s1_t rdata[SPACE1_DIM1][ARRAY1_DIM1]; // Information read in hsize_t sdims1[] = {SPACE1_DIM1}; hsize_t tdims1[] = {ARRAY1_DIM1}; - int nmemb; // Number of compound members int ii; // counting variables hsize_t idxi, idxj, idxk; // dimension indicing variables H5T_class_t mclass; // Datatype class for field |