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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5CompType.h b/c++/src/H5CompType.h
index 1e06a12..bca5722 100644
--- a/c++/src/H5CompType.h
+++ b/c++/src/H5CompType.h
@@ -9,7 +9,7 @@
namespace H5 {
#endif
-class CompType : public DataType {
+class __DLLCPP__ CompType : public DataType {
public:
// Creates a new compound datatype, given the type's size
CompType( size_t size ); // H5Tcreate
@@ -59,7 +59,7 @@ class CompType : public DataType {
StrType getMemberStrType( int member_num ) const;
// Adds a new member to this compound datatype.
- void insertMember( const string name, size_t offset, const DataType& new_member ) const;
+ void insertMember( const string& name, size_t offset, const DataType& new_member ) const;
// Recursively removes padding from within this compound datatype.
void pack() const;