diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2021-04-05 22:59:36 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2021-04-05 22:59:36 (GMT) |
commit | 0c6ff43fbccaf78196165db6660a30d37944ea78 (patch) | |
tree | 8d7ffb1fade3e8834a8480143b62b567c6611827 /c++/test/th5s.cpp | |
parent | 4402e696e43e4428a37953edbfd67c448ba93ac1 (diff) | |
download | hdf5-0c6ff43fbccaf78196165db6660a30d37944ea78.zip hdf5-0c6ff43fbccaf78196165db6660a30d37944ea78.tar.gz hdf5-0c6ff43fbccaf78196165db6660a30d37944ea78.tar.bz2 |
Normalizes C++ with develop
Diffstat (limited to 'c++/test/th5s.cpp')
-rw-r--r-- | c++/test/th5s.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/c++/test/th5s.cpp b/c++/test/th5s.cpp index e57ac04..9952e68 100644 --- a/c++/test/th5s.cpp +++ b/c++/test/th5s.cpp @@ -19,11 +19,7 @@ EXTERNAL ROUTINES/VARIABLES: ***************************************************************************/ -#ifdef OLD_HEADER_FILENAME -#include <iostream.h> -#else #include <iostream> -#endif using std::cerr; using std::endl; @@ -516,7 +512,7 @@ test_h5s_compound_scalar_read() dataset.read(&rdata, type); // Verify read data - if (HDmemcmp(&space4_data, &rdata, sizeof(struct space4_struct))) { + if (HDmemcmp(&space4_data, &rdata, sizeof(struct space4_struct)) != 0) { cerr << "scalar data different: space4_data.c1=" << space4_data.c1 << ", read_data4.c1=" << rdata.c1 << endl; cerr << "scalar data different: space4_data.u=" << space4_data.u << ", read_data4.u=" << rdata.u |