From da62319e678f4b131ad36b01d0ca54e4f62e3a7f Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 14 May 2023 23:04:32 +0200 Subject: Rename can_reference -> can_reference_anything. --- src/lib/dcp_content.cc | 8 ++++---- src/lib/dcp_content.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src') 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 film) const } bool -DCPContent::can_reference(shared_ptr film, string& why_not) const +DCPContent::can_reference_anything(shared_ptr 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 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 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 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 reels (std::shared_ptr film) const; - bool can_reference(std::shared_ptr film, std::string& why_not) const; + bool can_reference_anything(std::shared_ptr film, std::string& why_not) const; bool overlaps(std::shared_ptr film, std::function)> part) const; std::string _name; -- cgit v1.2.3