exiv2-0.28.0 replaced Exiv2::Image::AutoPtr with Exiv2::Image::UniquePtr¹ and Exiv2::AnyError with Exiv2::Error². this patch makes Viewnior build with 0.28.0 and 0.27.6.
i have tested opening a JPEG image and looking at its EXIF metadata with both versions of exiv2.
@hellosiyan would you please take a look at this MR or #134? This way Viewnior can be built (and work) against newer versions of the Exiv2 library. Thanks!
exiv2-0.28.0 replaced
Exiv2::Image::AutoPtr
withExiv2::Image::UniquePtr
¹ andExiv2::AnyError
withExiv2::Error
². this patch makes Viewnior build with 0.28.0 and 0.27.6.i have tested opening a JPEG image and looking at its EXIF metadata with both versions of exiv2.
¹
include/exiv2/image.hpp
²include/exiv2/error.hpp