diff options
Diffstat (limited to 'c++/test/tfilter.cpp')
-rw-r--r-- | c++/test/tfilter.cpp | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/c++/test/tfilter.cpp b/c++/test/tfilter.cpp index 19549b3..ee78fe1 100644 --- a/c++/test/tfilter.cpp +++ b/c++/test/tfilter.cpp @@ -18,27 +18,19 @@ tfilter.cpp - HDF5 C++ testing various filters and their combination. ***************************************************************************/ - #ifdef OLD_HEADER_FILENAME #include <iostream.h> #else #include <iostream> #endif -#include <string> - -#ifndef H5_NO_NAMESPACE -#ifndef H5_NO_STD - using std::cerr; - using std::endl; -#endif // H5_NO_STD -#endif +using std::cerr; +using std::endl; +#include <string> #include "H5Cpp.h" // C++ API header file +using namespace H5; -#ifndef H5_NO_NAMESPACE - using namespace H5; -#endif - +#include "h5test.h" #include "h5cpputil.h" // C++ utilility header file #define DSET_DIM1 100 @@ -258,9 +250,7 @@ static void test_szip_filter(H5File& file1) ** ****************************************************************/ const H5std_string FILE1("tfilters.h5"); -#ifdef __cplusplus extern "C" -#endif void test_filters() { // Output message about test being performed @@ -300,9 +290,7 @@ void test_filters() * *------------------------------------------------------------------------- */ -#ifdef __cplusplus extern "C" -#endif void cleanup_filters() { HDremove(FILE1.c_str()); |