summaryrefslogtreecommitdiffstats
path: root/c++/examples/h5tutr_subset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/h5tutr_subset.cpp')
-rw-r--r--c++/examples/h5tutr_subset.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/c++/examples/h5tutr_subset.cpp b/c++/examples/h5tutr_subset.cpp
index ad52747..bf57713 100644
--- a/c++/examples/h5tutr_subset.cpp
+++ b/c++/examples/h5tutr_subset.cpp
@@ -19,17 +19,12 @@
*/
#include <iostream>
-#include <string>
+using std::cout;
+using std::endl;
+#include <string>
#include "H5Cpp.h"
-
-#ifndef H5_NO_NAMESPACE
- using namespace H5;
-#ifndef H5_NO_STD
- using std::cout;
- using std::endl;
-#endif // H5_NO_STD
-#endif
+using namespace H5;
const H5std_string FILE_NAME("h5tutr_subset.h5");
const H5std_string DATASET_NAME("IntArray");