summaryrefslogtreecommitdiffstats
path: root/c++/examples/compound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/examples/compound.cpp')
-rw-r--r--c++/examples/compound.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/c++/examples/compound.cpp b/c++/examples/compound.cpp
index dfbd544..17d8f20 100644
--- a/c++/examples/compound.cpp
+++ b/c++/examples/compound.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( "SDScompound.h5" );