Skip to content

Commit

Permalink
'make_unique' is C++14 only...
Browse files Browse the repository at this point in the history
  • Loading branch information
ptahmose committed Aug 31, 2024
1 parent ed7dcd4 commit 7fd487f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/libCZI/CziMetadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ CCziMetadata::CCziMetadata(libCZI::IMetadataSegment* pMdSeg)
this->parseResult = this->doc.load_buffer(ptrData, size, pugi::parse_default, encoding_utf8);
if (this->parseResult)
{
this->wrapper = std::make_unique<XmlNodeWrapperReadonly<CCziMetadata, XmlNodeWrapperThrowExcp>>(
this->doc.internal_object());
this->wrapper = std::unique_ptr<XmlNodeWrapperReadonly<CCziMetadata, XmlNodeWrapperThrowExcp>>(
new XmlNodeWrapperReadonly<CCziMetadata, XmlNodeWrapperThrowExcp>(this->doc.internal_object()));
}
}

Expand Down

0 comments on commit 7fd487f

Please sign in to comment.