summaryrefslogtreecommitdiffstats
path: root/c++/src/H5CompType.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5CompType.h')
-rw-r--r--c++/src/H5CompType.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5CompType.h b/c++/src/H5CompType.h
index 9b2c983..976cb17 100644
--- a/c++/src/H5CompType.h
+++ b/c++/src/H5CompType.h
@@ -14,7 +14,7 @@ class CompType : public DataType {
CompType();
// Creates a compound datatype using an existing id
- CompType( hid_t existing_id );
+ CompType( const hid_t existing_id );
// Copy constructor - makes a copy of original object
CompType( const CompType& original );