summaryrefslogtreecommitdiffstats
path: root/c++/examples/h5tutr_crtgrp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/h5tutr_crtgrp.cpp')
-rw-r--r--c++/examples/h5tutr_crtgrp.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/c++/examples/h5tutr_crtgrp.cpp b/c++/examples/h5tutr_crtgrp.cpp
index 3db4e72..41bbf1b 100644
--- a/c++/examples/h5tutr_crtgrp.cpp
+++ b/c++/examples/h5tutr_crtgrp.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_group.h5");