mirror of
https://github.com/Unidata/netcdf-cxx4.git
synced 2025-02-23 19:09:11 +08:00
Implement missing constructor NcCompoundType(const NcType& ncType), fixes Jira issue NCXXF-8
This commit is contained in:
parent
22f5cacaf5
commit
a9387d320c
@ -66,6 +66,15 @@ NcCompoundType::NcCompoundType(const NcGroup& grp, const string& name):
|
||||
NcType(grp,name)
|
||||
{
|
||||
}
|
||||
|
||||
// constructor
|
||||
// The copy constructor.
|
||||
NcCompoundType::NcCompoundType(const NcType& rhs):
|
||||
NcType()
|
||||
{
|
||||
// assign base class parts
|
||||
NcType::operator=(rhs);
|
||||
}
|
||||
|
||||
// Inserts a named field.
|
||||
void NcCompoundType::addMember(const string& memberName, const NcType& newMemberType,size_t offset)
|
||||
|
Loading…
Reference in New Issue
Block a user