default init static variable

Signed-off-by: Rosen Penev <rosenp@gmail.com>
main
Rosen Penev 3 years ago
parent d4f04296e4
commit 5e20467e5c

@ -127,8 +127,6 @@ const CrwSubDir CrwMap::crwSubDir_[] = {
{0x2807, 0x300a}, {0x2804, 0x300a}, {0x300a, 0x0000}, {0x0000, 0xffff},
};
const char CiffHeader::signature_[] = "HEAPCCDR";
CiffDirectory::~CiffDirectory() {
for (auto&& component : components_) {
delete component;

@ -480,7 +480,7 @@ class CiffHeader {
private:
// DATA
static const char signature_[]; //!< Canon CRW signature "HEAPCCDR"
static constexpr auto signature_ = "HEAPCCDR"; //!< Canon CRW signature
std::unique_ptr<CiffDirectory> pRootDir_; //!< Pointer to the root directory
ByteOrder byteOrder_ = littleEndian; //!< Applicable byte order

Loading…
Cancel
Save