diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-04-24 15:05:50 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-04-24 15:05:50 +0200 |
commit | 4925f0d18c5554bf96d8cb853b5a017e0d18fda2 (patch) | |
tree | 0be25169d5fe7b306b9a8b84bb8f300f96869342 /libqpdf/QPDF_Dictionary.cc | |
parent | 68e721981a1fe4f1398d811bb8ed99af0e100da8 (diff) | |
download | qpdf-4925f0d18c5554bf96d8cb853b5a017e0d18fda2.tar.zst |
Have dictionary/streams mutators take const& where possible
Diffstat (limited to 'libqpdf/QPDF_Dictionary.cc')
-rw-r--r-- | libqpdf/QPDF_Dictionary.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libqpdf/QPDF_Dictionary.cc b/libqpdf/QPDF_Dictionary.cc index 599f7224..1655f53a 100644 --- a/libqpdf/QPDF_Dictionary.cc +++ b/libqpdf/QPDF_Dictionary.cc @@ -115,7 +115,8 @@ QPDF_Dictionary::getAsMap() const } void -QPDF_Dictionary::replaceKey(std::string const& key, QPDFObjectHandle value) +QPDF_Dictionary::replaceKey( + std::string const& key, QPDFObjectHandle const& value) { // add or replace value this->items[key] = value; |