summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Exception.h
diff options
context:
space:
mode:
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 5a86b31..073827e 100644
--- a/c++/src/H5Exception.h
+++ b/c++/src/H5Exception.h
@@ -52,7 +52,7 @@ class H5_DLLCPP Exception {
const char* getCFuncName() const; // function name as a char string
// Turns on the automatic error printing.
- static void setAutoPrint( H5E_auto_t func, void* client_data);
+ static void setAutoPrint( H5E_auto_t& func, void* client_data);
// Turns off the automatic error printing.
static void dontPrint();