Replace many of the iterators types with auto
This commit is contained in:
@@ -233,8 +233,8 @@ void print(const std::string& file)
|
||||
image->readMetadata();
|
||||
|
||||
Exiv2::ExifData &ed = image->exifData();
|
||||
Exiv2::ExifData::const_iterator end = ed.end();
|
||||
for (Exiv2::ExifData::const_iterator i = ed.begin(); i != end; ++i) {
|
||||
auto end = ed.end();
|
||||
for (auto i = ed.begin(); i != end; ++i) {
|
||||
std::cout << std::setw(45) << std::setfill(' ') << std::left
|
||||
<< i->key() << " "
|
||||
<< "0x" << std::setw(4) << std::setfill('0') << std::right
|
||||
|
||||
Reference in New Issue
Block a user