diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-03-27 23:28:27 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-03-27 23:28:27 +0100 |
| commit | 47c34c6c7c82396b62e101283cb25b8726dbaefd (patch) | |
| tree | 2a4117899fcaddc7d5b9aae89315cecd145174c8 /src/lib/dcp_content.h | |
| parent | 05502433d24e916bd99db3bac26b4903f961da06 (diff) | |
why_not in can_reference can just be a string rather than a list of strings.
Diffstat (limited to 'src/lib/dcp_content.h')
| -rw-r--r-- | src/lib/dcp_content.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index 892b6aa73..371ec7fff 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2016 Carl Hetherington <cth@carlh.net> + Copyright (C) 2014-2018 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -97,7 +97,7 @@ public: return _reference_video; } - bool can_reference_video (std::list<std::string> &) const; + bool can_reference_video (std::string &) const; void set_reference_audio (bool r); @@ -106,7 +106,7 @@ public: return _reference_audio; } - bool can_reference_audio (std::list<std::string> &) const; + bool can_reference_audio (std::string &) const; void set_reference_subtitle (bool r); @@ -115,7 +115,7 @@ public: return _reference_subtitle; } - bool can_reference_subtitle (std::list<std::string> &) const; + bool can_reference_subtitle (std::string &) const; void set_cpl (std::string id); @@ -139,7 +139,7 @@ private: bool can_reference ( boost::function <boost::shared_ptr<ContentPart> (boost::shared_ptr<const Content>)>, std::string overlapping, - std::list<std::string>& why_not + std::string& why_not ) const; std::string _name; |
