summaryrefslogtreecommitdiffstats
path: root/c++/src/H5DataSpace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5DataSpace.cpp')
-rw-r--r--c++/src/H5DataSpace.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/c++/src/H5DataSpace.cpp b/c++/src/H5DataSpace.cpp
index 7f90d6e..091fa10 100644
--- a/c++/src/H5DataSpace.cpp
+++ b/c++/src/H5DataSpace.cpp
@@ -13,6 +13,11 @@
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#include <string>
+#ifdef OLD_HEADER_FILENAME
+#include <iostream.h>
+#else
+#include <iostream>
+#endif
#include "H5Include.h"
#include "H5Exception.h"
@@ -356,7 +361,7 @@ DataSpace::~DataSpace()
try {
resetIdComponent( this ); }
catch (Exception close_error) { // thrown by p_close
- throw DataSpaceIException("DataSpace::~DataSpace", close_error.getDetailMsg());
+ cerr << "DataSpace::~DataSpace" << close_error.getDetailMsg() << endl;
}
}