metadata: use std::unique_ptr instead of Exiv2::Image::AutoPtr

Fixes #55

(cherry picked from commit 9466fc133f1af465a784a7384cf0369d7c35b901)
This commit is contained in:
David Hunt
2020-04-14 00:11:03 -07:00
committed by Lawrence Lee
parent 3f05564548
commit 7c9726ddbe

View File

@@ -52,7 +52,7 @@ private:
constexpr size_t IMAGE_CACHE_SIZE = 200;
Exiv2::Image::AutoPtr open_exiv2(const Glib::ustring& fname)
std::unique_ptr<Exiv2::Image> open_exiv2(const Glib::ustring& fname)
{
#ifdef EXV_UNICODE_PATH
glong ws_size = 0;