diff options
Diffstat (limited to 'c++/examples/readdata.cpp')
-rw-r--r-- | c++/examples/readdata.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/c++/examples/readdata.cpp b/c++/examples/readdata.cpp index 7e10a55..5cc28ce 100644 --- a/c++/examples/readdata.cpp +++ b/c++/examples/readdata.cpp @@ -36,11 +36,10 @@ #ifndef H5_NO_NAMESPACE using namespace H5; - using H5_std::string; #endif -const string FILE_NAME( "SDS.h5" ); -const string DATASET_NAME( "IntArray" ); +const H5std_string FILE_NAME( "SDS.h5" ); +const H5std_string DATASET_NAME( "IntArray" ); const int NX_SUB = 3; // hyperslab dimensions const int NY_SUB = 4; const int NX = 7; // output buffer dimensions @@ -101,7 +100,7 @@ int main (void) /* * Get order of datatype and print message if it's a little endian. */ - string order_string; + H5std_string order_string; H5T_order_t order = intype.getOrder( order_string ); cout << order_string << endl; |