summaryrefslogtreecommitdiffstats
path: root/c++/test/dsets.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2006-04-05 16:50:56 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2006-04-05 16:50:56 (GMT)
commite36db373ef271a1e4e87c891942b24701941863a (patch)
treeaef50159182e8234d54cd2e1b426c8bdd0f1a52b /c++/test/dsets.cpp
parent69a959c55bb4f1f3e5f1f44d93a56380c0e28889 (diff)
downloadhdf5-e36db373ef271a1e4e87c891942b24701941863a.zip
hdf5-e36db373ef271a1e4e87c891942b24701941863a.tar.gz
hdf5-e36db373ef271a1e4e87c891942b24701941863a.tar.bz2
[svn-r12202] Purpose: Maintenance
Description: Changed to alias string instead of std, i.e. H5std_string instead of H5std, because the old way wasn't working when std didn't exist. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) HPUX 11.00 (kelgia) - this was the problematic platform but I wasn't able to test before.
Diffstat (limited to 'c++/test/dsets.cpp')
-rw-r--r--c++/test/dsets.cpp19
1 files changed, 9 insertions, 10 deletions
diff --git a/c++/test/dsets.cpp b/c++/test/dsets.cpp
index aaab3e2..3f0dec5 100644
--- a/c++/test/dsets.cpp
+++ b/c++/test/dsets.cpp
@@ -43,18 +43,17 @@
#ifndef H5_NO_NAMESPACE
using namespace H5;
- using H5_std::string;
#endif
#include "h5cpputil.h" // C++ utilility header file
-const string FILE1("dataset.h5");
-const string DSET_DEFAULT_NAME("default");
-const string DSET_CHUNKED_NAME("chunked");
-const string DSET_SIMPLE_IO_NAME("simple_io");
-const string DSET_TCONV_NAME ("tconv");
-const string DSET_COMPRESS_NAME("compressed");
-const string DSET_BOGUS_NAME ("bogus");
+const H5std_string FILE1("dataset.h5");
+const H5std_string DSET_DEFAULT_NAME("default");
+const H5std_string DSET_CHUNKED_NAME("chunked");
+const H5std_string DSET_SIMPLE_IO_NAME("simple_io");
+const H5std_string DSET_TCONV_NAME ("tconv");
+const H5std_string DSET_COMPRESS_NAME("compressed");
+const H5std_string DSET_BOGUS_NAME ("bogus");
const int H5Z_FILTER_BOGUS = 305;
@@ -1039,7 +1038,7 @@ main(void)
}
catch (Exception E)
{
- return(test_report(nerrors, string(" Dataset")));
+ return(test_report(nerrors, H5std_string(" Dataset")));
}
// Clean up data file
@@ -1047,7 +1046,7 @@ main(void)
// Print out dsets test results
cerr << endl << endl;
- return(test_report(nerrors, string(" Dataset")));
+ return(test_report(nerrors, H5std_string(" Dataset")));
} // main
/*-------------------------------------------------------------------------