diff options
Diffstat (limited to 'libqpdf/QPDF_Dictionary.cc')
-rw-r--r-- | libqpdf/QPDF_Dictionary.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libqpdf/QPDF_Dictionary.cc b/libqpdf/QPDF_Dictionary.cc index e5b88027..44b8a474 100644 --- a/libqpdf/QPDF_Dictionary.cc +++ b/libqpdf/QPDF_Dictionary.cc @@ -12,11 +12,8 @@ QPDF_Dictionary::QPDF_Dictionary( void QPDF_Dictionary::releaseResolved() { - for (std::map<std::string, QPDFObjectHandle>::iterator iter = - this->items.begin(); - iter != this->items.end(); - ++iter) { - QPDFObjectHandle::ReleaseResolver::releaseResolved((*iter).second); + for (auto& iter: this->items) { + QPDFObjectHandle::ReleaseResolver::releaseResolved(iter.second); } } |