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.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/c++/src/H5Attribute.h b/c++/src/H5Attribute.h
index d04e351..142a829 100644
--- a/c++/src/H5Attribute.h
+++ b/c++/src/H5Attribute.h
@@ -6,11 +6,7 @@ namespace H5 {
#endif
class Attribute : public AbstractDs {
-
public:
- // Copy constructor: makes a copy of an existing Attribute object.
- Attribute( const Attribute& original );
-
// Writes data to this attribute.
void write(const DataType& mem_type, void *buf ) const;
@@ -32,6 +28,9 @@ class Attribute : public AbstractDs {
// Creates a copy of an existing attribute using the attribute id
Attribute( const hid_t attr_id );
+ // Copy constructor: makes a copy of an existing Attribute object.
+ Attribute( const Attribute& original );
+
virtual ~Attribute();
private: