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