summaryrefslogtreecommitdiffstats
path: root/c++/examples/create.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/create.cpp')
-rw-r--r--c++/examples/create.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/c++/examples/create.cpp b/c++/examples/create.cpp
index 85afc89..03cbb51 100644
--- a/c++/examples/create.cpp
+++ b/c++/examples/create.cpp
@@ -23,16 +23,11 @@
#endif
#include <string>
-#ifndef H5_NO_NAMESPACE
-#ifndef H5_NO_STD
- using std::string;
-#endif // H5_NO_STD
-#endif
-
#include "H5Cpp.h"
#ifndef H5_NO_NAMESPACE
-using namespace H5;
+ using namespace H5;
+ using H5_std::string;
#endif
const string FILE_NAME( "SDS.h5" );