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