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