summaryrefslogtreecommitdiffstats
path: root/c++/test/h5cpputil.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-26 15:45:59 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2016-10-26 15:45:59 (GMT)
commit581c0acfa9eb1eb6cb22d8973f7f0aec973b9e06 (patch)
treec59a48ec2f5f3e5fedc02fa6c849c0c83c3da001 /c++/test/h5cpputil.cpp
parent3b1b2f42df9fe0579b441f4e57f0838017814266 (diff)
parenta903cbafa863f22d360e7ef59f787b4fe0c0d2c3 (diff)
downloadhdf5-581c0acfa9eb1eb6cb22d8973f7f0aec973b9e06.zip
hdf5-581c0acfa9eb1eb6cb22d8973f7f0aec973b9e06.tar.gz
hdf5-581c0acfa9eb1eb6cb22d8973f7f0aec973b9e06.tar.bz2
Merge pull request #89 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_obsolete_items:develop to develop
* commit 'a903cbafa863f22d360e7ef59f787b4fe0c0d2c3': Description: Removed obsolet macros from C++ API: H5_NO_NAMESPACE, H5_NO_STD, __cplusplus Leave OLD_HEADER_FILENAME because iostream.h might still be in use, until further checking is done. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test) Jelly
Diffstat (limited to 'c++/test/h5cpputil.cpp')
-rw-r--r--c++/test/h5cpputil.cpp21
1 files changed, 6 insertions, 15 deletions
diff --git a/c++/test/h5cpputil.cpp b/c++/test/h5cpputil.cpp
index 3bc38b5..95d29a8 100644
--- a/c++/test/h5cpputil.cpp
+++ b/c++/test/h5cpputil.cpp
@@ -26,25 +26,16 @@
#else
#include <iostream>
#endif
-#include <string>
+using std::cerr;
+using std::endl;
-#ifndef H5_NO_NAMESPACE
-#ifndef H5_NO_STD
- using std::cerr;
- using std::endl;
-#endif // H5_NO_STD
-#endif
+#include <string>
+#include "H5Cpp.h" // C++ API header file
+using namespace H5;
#include "h5test.h"
-#include "H5Cpp.h"
-
-#ifndef H5_NO_NAMESPACE
- using namespace H5;
-#endif
-
-#include "h5cpputil.h"
+#include "h5cpputil.h" // C++ utilility header file
-
/*-------------------------------------------------------------------------
* Function: test_report
*