From 61a5d8594cfd9ca540f1e767d339adfbd0f9b7e2 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 8 Mar 2022 00:10:58 -0800 Subject: [PATCH] remove some new Signed-off-by: Rosen Penev --- src/xmp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xmp.cpp b/src/xmp.cpp index 133d38d6..816d9de5 100644 --- a/src/xmp.cpp +++ b/src/xmp.cpp @@ -309,12 +309,12 @@ namespace Exiv2 { } Xmpdatum::Xmpdatum(const XmpKey& key, const Value* pValue) - : p_(new Impl(key, pValue)) + : p_(std::make_unique(key, pValue)) { } Xmpdatum::Xmpdatum(const Xmpdatum& rhs) - : Metadatum(rhs), p_(new Impl(*rhs.p_)) + : Metadatum(rhs), p_(std::make_unique(*rhs.p_)) { }