summaryrefslogtreecommitdiffstats
path: root/c++/examples/writedata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/writedata.cpp')
-rw-r--r--c++/examples/writedata.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/examples/writedata.cpp b/c++/examples/writedata.cpp
index f50927d..94c952b 100644
--- a/c++/examples/writedata.cpp
+++ b/c++/examples/writedata.cpp
@@ -32,6 +32,10 @@
#ifndef H5_NO_NAMESPACE
using namespace H5;
+#ifndef H5_NO_STD
+ using std::cout;
+ using std::endl;
+#endif // H5_NO_STD
#endif
const string FILE_NAME( "Select.h5" );