diff options
Diffstat (limited to 'libqpdf/JSON.cc')
-rw-r--r-- | libqpdf/JSON.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libqpdf/JSON.cc b/libqpdf/JSON.cc index 247d3c86..f75935aa 100644 --- a/libqpdf/JSON.cc +++ b/libqpdf/JSON.cc @@ -346,7 +346,7 @@ JSON::checkSchemaInternal(JSON_value* this_v, JSON_value* sch_v, if (sch_dict && (! pattern_key.empty())) { auto pattern_schema = sch_dict->members[pattern_key].getPointer(); - for (auto iter: this_dict->members) + for (auto const& iter: this_dict->members) { std::string const& key = iter.first; checkSchemaInternal( |