From 7fd487f49121ed057794b0f42eb95776524ee62e Mon Sep 17 00:00:00 2001 From: ptahmose Date: Sat, 31 Aug 2024 23:28:52 +0200 Subject: [PATCH] 'make_unique' is C++14 only... --- Src/libCZI/CziMetadata.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/libCZI/CziMetadata.cpp b/Src/libCZI/CziMetadata.cpp index 03410f3d..6817ed77 100644 --- a/Src/libCZI/CziMetadata.cpp +++ b/Src/libCZI/CziMetadata.cpp @@ -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>( - this->doc.internal_object()); + this->wrapper = std::unique_ptr>( + new XmlNodeWrapperReadonly(this->doc.internal_object())); } }