default initializations

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-02-01 12:48:50 -08:00
parent 7aaf6414f2
commit e7977554e2
2 changed files with 1 additions and 4 deletions

View File

@ -93,9 +93,6 @@ TiffBinaryArray::TiffBinaryArray(uint16_t tag, IfdId group, const ArraySet* arra
}
TiffBinaryElement::TiffBinaryElement(uint16_t tag, IfdId group) : TiffEntryBase(tag, group) {
elDef_.idx_ = 0;
elDef_.tiffType_ = ttUndefined;
elDef_.count_ = 0;
}
TiffDirectory::~TiffDirectory() {

View File

@ -1491,7 +1491,7 @@ class TiffBinaryElement : public TiffEntryBase {
private:
// DATA
ArrayDef elDef_; //!< The array element definition
ArrayDef elDef_{0, ttUndefined, 0}; //!< The array element definition
ByteOrder elByteOrder_{invalidByteOrder}; //!< Byte order to read/write the element
}; // class TiffBinaryElement