[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.
This commit is contained in:
Binh-Minh Ribler
2006-04-05 11:50:56 -05:00
parent 69a959c55b
commit e36db373ef
6 changed files with 54 additions and 59 deletions

View File

@@ -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