summaryrefslogtreecommitdiff
path: root/src/lib/dcp_examiner.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-10-28 23:04:26 +0200
committerCarl Hetherington <cth@carlh.net>2023-10-28 23:04:39 +0200
commit4dee86bbff8cb842aff4acb80d429ca8a22d2aa3 (patch)
tree4dba85a17280f7aa7fc1b0a0ce3deed7f4d9cc3f /src/lib/dcp_examiner.cc
parent641a2ce2f72f451c73b1120b5a1301dd4c05c983 (diff)
Add some const& to uses of auto.
Diffstat (limited to 'src/lib/dcp_examiner.cc')
-rw-r--r--src/lib/dcp_examiner.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_examiner.cc b/src/lib/dcp_examiner.cc
index a9a6dee5e..0f9ae9544 100644
--- a/src/lib/dcp_examiner.cc
+++ b/src/lib/dcp_examiner.cc
@@ -83,7 +83,7 @@ DCPExaminer::DCPExaminer (shared_ptr<const DCPContent> content, bool tolerant)
for (auto cpl: cpls) {
int unsatisfied = 0;
- for (auto reel: cpl->reels()) {
+ for (auto const& reel: cpl->reels()) {
if (reel->main_picture() && !reel->main_picture()->asset_ref().resolved()) {
++unsatisfied;
}