Replace many of the iterators types with auto

This commit is contained in:
Luis Díaz Más
2021-04-18 20:38:06 +02:00
parent 75e4bd9059
commit f85f7f717a
32 changed files with 166 additions and 173 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ try {
Exiv2::ExifData& ed = image->exifData();
for (unsigned int i = 0; i < EXV_COUNTOF(easyAccess); ++i) {
Exiv2::ExifData::const_iterator pos = easyAccess[i].findFct_(ed);
auto pos = easyAccess[i].findFct_(ed);
std::cout << std::setw(21) << std::left << easyAccess[i].label_;
if (pos != ed.end()) {
std::cout << " (" << std::setw(35) << pos->key() << ") : "