diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-04-05 16:23:39 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-04-05 16:23:39 (GMT) |
commit | 6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86 (patch) | |
tree | d1b60d66be0081652d701e946e98d03de3dc44ff /c++/src/H5Group.cpp | |
parent | 12f01d9cd48c8c49b2ad2e5e0d0a0f35e2e598a8 (diff) | |
download | hdf5-6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86.zip hdf5-6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86.tar.gz hdf5-6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86.tar.bz2 |
[svn-r12200] 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++/src/H5Group.cpp')
-rw-r--r-- | c++/src/H5Group.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/c++/src/H5Group.cpp b/c++/src/H5Group.cpp index 9e42daa..6c0239f 100644 --- a/c++/src/H5Group.cpp +++ b/c++/src/H5Group.cpp @@ -130,7 +130,7 @@ void* Group::Reference(const char* name) const ///\param name - IN: Name of the object to be referenced // Programmer Binh-Minh Ribler - May, 2004 //-------------------------------------------------------------------------- -void* Group::Reference(const H5_std::string& name) const +void* Group::Reference(const H5std_string& name) const { return(Reference(name.c_str())); } @@ -210,9 +210,9 @@ void Group::close() // implementation of Group. // Programmer Binh-Minh Ribler - 2000 //-------------------------------------------------------------------------- -void Group::throwException(const H5_std::string func_name, const H5_std::string msg) const +void Group::throwException(const H5std_string func_name, const H5std_string msg) const { - H5_std::string full_name = func_name; + H5std_string full_name = func_name; full_name.insert(0, "Group::"); throw GroupIException(full_name, msg); } |