summaryrefslogtreecommitdiffstats
path: root/c++/examples/compound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/compound.cpp')
-rw-r--r--c++/examples/compound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/examples/compound.cpp b/c++/examples/compound.cpp
index 37df231..994a036 100644
--- a/c++/examples/compound.cpp
+++ b/c++/examples/compound.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( "SDScompound.h5" );