Replace many of the iterators types with auto
This commit is contained in:
@@ -127,7 +127,7 @@ try {
|
||||
assert(getv8.ok());
|
||||
|
||||
// Deleting an XMP property
|
||||
Exiv2::XmpData::iterator pos = xmpData.findKey(Exiv2::XmpKey("Xmp.dc.eight"));
|
||||
auto pos = xmpData.findKey(Exiv2::XmpKey("Xmp.dc.eight"));
|
||||
if (pos == xmpData.end()) throw Exiv2::Error(Exiv2::kerErrorMessage, "Key not found");
|
||||
xmpData.erase(pos);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user