summaryrefslogtreecommitdiffstats
path: root/c++/test/h5cpputil.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/h5cpputil.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/h5cpputil.cpp')
-rw-r--r--c++/test/h5cpputil.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/c++/test/h5cpputil.cpp b/c++/test/h5cpputil.cpp
index a711f81..03f0c9f 100644
--- a/c++/test/h5cpputil.cpp
+++ b/c++/test/h5cpputil.cpp
@@ -39,7 +39,6 @@
#ifndef H5_NO_NAMESPACE
using namespace H5;
- using H5_std::string;
#endif
#include "h5cpputil.h"
@@ -63,7 +62,7 @@
*
*-------------------------------------------------------------------------
*/
-int test_report( int nerrors, const string& testname )
+int test_report( int nerrors, const H5std_string& testname )
{
if (nerrors)
{
@@ -120,7 +119,7 @@ InvalidActionException::InvalidActionException():Exception(){}
// func_name - IN: Name of the function where failure should occur
// message - IN: Message
//--------------------------------------------------------------------------
-InvalidActionException::InvalidActionException(const string func_name, const string message) : Exception(func_name, message) {}
+InvalidActionException::InvalidActionException(const H5std_string func_name, const H5std_string message) : Exception(func_name, message) {}
//--------------------------------------------------------------------------
// Function: InvalidActionException destructor