diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-05-14 23:04:32 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-01-28 02:01:58 +0100 |
| commit | da62319e678f4b131ad36b01d0ca54e4f62e3a7f (patch) | |
| tree | 155e94289032e203cf4ed6daac30bc6078e1822d /src | |
| parent | db63785a521d31a6bb1e7109e83768880fefa783 (diff) | |
Rename can_reference -> can_reference_anything.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/dcp_content.cc | 8 | ||||
| -rw-r--r-- | src/lib/dcp_content.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc index 80cb67839..d92c64ce0 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); } @@ -733,7 +733,7 @@ DCPContent::can_reference_audio (shared_ptr<const Film> film, string& why_not) c return false; } - return can_reference(film, why_not); + return can_reference_anything(film, why_not); } @@ -786,7 +786,7 @@ DCPContent::can_reference_text (shared_ptr<const Film> film, TextType type, stri return false; } - return can_reference(film, why_not); + return can_reference_anything(film, why_not); } void diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index c0445899e..ce53da495 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -186,7 +186,7 @@ private: void read_directory (boost::filesystem::path); void read_sub_directory (boost::filesystem::path); std::list<dcpomatic::DCPTimePeriod> reels (std::shared_ptr<const Film> film) const; - bool can_reference(std::shared_ptr<const Film> film, std::string& why_not) const; + bool can_reference_anything(std::shared_ptr<const Film> film, std::string& why_not) const; bool overlaps(std::shared_ptr<const Film> film, std::function<bool (std::shared_ptr<const Content>)> part) const; std::string _name; |
