summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-05-14 23:04:32 +0200
committerCarl Hetherington <cth@carlh.net>2023-11-29 21:20:31 +0100
commit3d6c740fe379769f905f5a16285cde3661aabada (patch)
treed83fad51e49db1ec44b4e01f309a82463ea266e5 /src/lib/dcp_content.cc
parent96b6eecc3b2198cb6b3609d16f6c1c35b494ae98 (diff)
Rename can_reference -> can_reference_anything.
Diffstat (limited to 'src/lib/dcp_content.cc')
-rw-r--r--src/lib/dcp_content.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc
index f50ae9800..a02efd1c4 100644
--- a/src/lib/dcp_content.cc
+++ b/src/lib/dcp_content.cc
@@ -612,7 +612,7 @@ DCPContent::reel_split_points (shared_ptr<const Film> film) const
}
bool
-DCPContent::can_reference(shared_ptr<const Film> film, string& why_not) const
+DCPContent::can_reference_anything(shared_ptr<const Film> film, string& why_not) const
{
/* We must be using the same standard as the film */
if (_standard) {
@@ -702,7 +702,7 @@ DCPContent::can_reference_video (shared_ptr<const Film> film, string& why_not) c
return false;
}
- return can_reference(film, why_not);
+ return can_reference_anything(film, why_not);
}
@@ -741,7 +741,7 @@ DCPContent::can_reference_audio (shared_ptr<const Film> film, string& why_not) c
return true;
}
- return can_reference(film, why_not);
+ return can_reference_anything(film, why_not);
}
@@ -802,7 +802,7 @@ DCPContent::can_reference_text (shared_ptr<const Film> film, TextType type, stri
why_not = _("it overlaps other text content; remove the other content.");
}
- return can_reference(film, why_not);
+ return can_reference_anything(film, why_not);
}
void