diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-04-05 16:44:18 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2006-04-05 16:44:18 (GMT) |
commit | 69a959c55bb4f1f3e5f1f44d93a56380c0e28889 (patch) | |
tree | 25c2be405e8d3ddb9ea4a9ca1ab7d5174cc8ef73 /c++/examples/writedata.cpp | |
parent | 6f7076f47b7e00b5172f80e5e08b3a3ab63d8a86 (diff) | |
download | hdf5-69a959c55bb4f1f3e5f1f44d93a56380c0e28889.zip hdf5-69a959c55bb4f1f3e5f1f44d93a56380c0e28889.tar.gz hdf5-69a959c55bb4f1f3e5f1f44d93a56380c0e28889.tar.bz2 |
[svn-r12201] 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++/examples/writedata.cpp')
-rw-r--r-- | c++/examples/writedata.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/c++/examples/writedata.cpp b/c++/examples/writedata.cpp index 24e4768..3691f0b 100644 --- a/c++/examples/writedata.cpp +++ b/c++/examples/writedata.cpp @@ -39,11 +39,10 @@ #ifndef H5_NO_NAMESPACE using namespace H5; - using H5_std::string; #endif -const string FILE_NAME( "Select.h5" ); -const string DATASET_NAME( "Matrix in file" ); +const H5std_string FILE_NAME( "Select.h5" ); +const H5std_string DATASET_NAME( "Matrix in file" ); const int MSPACE1_RANK = 1; // Rank of the first dataset in memory const int MSPACE1_DIM = 50; // Dataset size in memory const int MSPACE2_RANK = 1; // Rank of the second dataset in memory |