diff options
Diffstat (limited to 'c++/src/H5DataType.h')
-rw-r--r-- | c++/src/H5DataType.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5DataType.h b/c++/src/H5DataType.h index c5c8a7d..ab54ba6 100644 --- a/c++/src/H5DataType.h +++ b/c++/src/H5DataType.h @@ -54,8 +54,8 @@ class H5_DLLCPP DataType : public H5Object { // Commits a transient datatype to a file; this datatype becomes // a named datatype which can be accessed from the location. - void commit(H5Location& loc, const char* name); - void commit(H5Location& loc, const H5std_string& name); + void commit(const H5Location& loc, const char* name); + void commit(const H5Location& loc, const H5std_string& name); // Determines whether this datatype is a named datatype or // a transient datatype. |