diff options
Diffstat (limited to 'c++/src/H5Exception.h')
-rw-r--r-- | c++/src/H5Exception.h | 2 |
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 ); |