summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Exception.h
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2001-03-06 07:08:33 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2001-03-06 07:08:33 (GMT)
commitf1932cb58219fd121ddb88cb9168a0caafad3a4c (patch)
treecadca7f218eb79b6e6d71ea3bef10fc1205a6eda /c++/src/H5Exception.h
parente99887cc669f3dccba8a4869a21b8cc1a8e3a3b6 (diff)
downloadhdf5-f1932cb58219fd121ddb88cb9168a0caafad3a4c.zip
hdf5-f1932cb58219fd121ddb88cb9168a0caafad3a4c.tar.gz
hdf5-f1932cb58219fd121ddb88cb9168a0caafad3a4c.tar.bz2
[svn-r3550]
Purpose: Bug fix Description: The Exception destructor accidently called H5Eprint, which caused error messages to be printed where they are not supposed to because the failures are expected. Solution: Removed that lousy call! Platforms tested: arabica (sparc-sun-solaris 2.7)
Diffstat (limited to 'c++/src/H5Exception.h')
-rw-r--r--c++/src/H5Exception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Exception.h b/c++/src/H5Exception.h
index e8aeee4..0bc12ee 100644
--- a/c++/src/H5Exception.h
+++ b/c++/src/H5Exception.h
@@ -32,7 +32,7 @@ class Exception {
// Returns the detailed message set at the time the exception is thrown
string getDetailMesg() const;
- char* getCDetailMesg(); // C string of detailed message
+ const char* getCDetailMesg() const; // C string of detailed message
// Turns on the automatic error printing.
static void setAutoPrint( H5E_auto_t func, void* client_data );