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