summaryrefslogtreecommitdiffstats
path: root/c++/examples/readdata.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/readdata.cpp')
-rw-r--r--c++/examples/readdata.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/examples/readdata.cpp b/c++/examples/readdata.cpp
index 5a1ec51..70f3727 100644
--- a/c++/examples/readdata.cpp
+++ b/c++/examples/readdata.cpp
@@ -29,6 +29,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( "SDS.h5" );