diff options
Diffstat (limited to 'c++/src/H5IdComponent.h')
-rw-r--r-- | c++/src/H5IdComponent.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/c++/src/H5IdComponent.h b/c++/src/H5IdComponent.h index 66deeb5..31e9acd 100644 --- a/c++/src/H5IdComponent.h +++ b/c++/src/H5IdComponent.h @@ -26,7 +26,7 @@ class IdComponent { IdComponent( const IdComponent& original ); // Gets the value of IdComponent's data member - hid_t getId () const; + virtual hid_t getId () const; // Increment reference counter void incRefCount(); @@ -41,6 +41,9 @@ class IdComponent { // reference to this object bool noReference(); + // Assignment operator + virtual IdComponent& operator=( const IdComponent& rhs ); + // Resets this IdComponent instance //template <class Type> //void reset( Type* parent ); @@ -55,9 +58,6 @@ class IdComponent { RefCounter* ref_count; // used to keep track of the // number of copies of an object - // Assignment operator - IdComponent& operator=( const IdComponent& rhs ); - // Default constructor IdComponent(); |