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