summaryrefslogtreecommitdiffstats
path: root/c++/src/H5Attribute.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5Attribute.h')
-rw-r--r--c++/src/H5Attribute.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h
index b4ad208..9f1435b 100644
--- a/c++/src/H5Attribute.h
+++ b/c++/src/H5Attribute.h
@@ -9,7 +9,7 @@ namespace H5 {
class Attribute : public AbstractDs {
public:
// Writes data to this attribute.
- void write(const DataType& mem_type, void *buf ) const;
+ void write(const DataType& mem_type, const void *buf ) const;
// Reads data from this attribute.
void read( const DataType& mem_type, void *buf ) const;