cpp: Replace auto_ptr by unique_ptr
This commit is contained in:
@@ -53,7 +53,7 @@ int main(int argc, char* const argv[])
|
||||
}
|
||||
|
||||
// Read metadata from file
|
||||
Exiv2::Image::AutoPtr image = Exiv2::ImageFactory::open(file);
|
||||
Exiv2::Image::UniquePtr image = Exiv2::ImageFactory::open(file);
|
||||
assert(image.get() != 0);
|
||||
image->readMetadata();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user