summaryrefslogtreecommitdiffstats
path: root/c++/examples/readdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/readdata.cpp')
-rw-r--r--c++/examples/readdata.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/examples/readdata.cpp b/c++/examples/readdata.cpp
index 8f00e33..7e10a55 100644
--- a/c++/examples/readdata.cpp
+++ b/c++/examples/readdata.cpp
@@ -27,7 +27,6 @@
#ifndef H5_NO_NAMESPACE
#ifndef H5_NO_STD
- using std::string;
using std::cout;
using std::endl;
#endif // H5_NO_STD
@@ -36,7 +35,8 @@
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
-using namespace H5;
+ using namespace H5;
+ using H5_std::string;
#endif
const string FILE_NAME( "SDS.h5" );