remove some new

Signed-off-by: Rosen Penev <rosenp@gmail.com>
main
Rosen Penev 3 years ago
parent 17a13072e6
commit 61a5d8594c

@ -309,12 +309,12 @@ namespace Exiv2 {
} }
Xmpdatum::Xmpdatum(const XmpKey& key, const Value* pValue) Xmpdatum::Xmpdatum(const XmpKey& key, const Value* pValue)
: p_(new Impl(key, pValue)) : p_(std::make_unique<Impl>(key, pValue))
{ {
} }
Xmpdatum::Xmpdatum(const Xmpdatum& rhs) Xmpdatum::Xmpdatum(const Xmpdatum& rhs)
: Metadatum(rhs), p_(new Impl(*rhs.p_)) : Metadatum(rhs), p_(std::make_unique<Impl>(*rhs.p_))
{ {
} }

Loading…
Cancel
Save