metadata: use std::unique_ptr instead of Exiv2::Image::AutoPtr
Fixes #55 (cherry picked from commit 9466fc133f1af465a784a7384cf0369d7c35b901)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user