X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=inline;f=src%2Flib%2Fdcp_content_type.cc;h=b2455ba21b8f6f316524b976e12116262e44e2f9;hb=5a83297c4d78a8bc130cea5a05ef3a73cd0e39d8;hp=03c1bf59ff207638f4ce018297ddfe68a7e5f891;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/dcp_content_type.cc b/src/lib/dcp_content_type.cc index 03c1bf59f..b2455ba21 100644 --- a/src/lib/dcp_content_type.cc +++ b/src/lib/dcp_content_type.cc @@ -55,18 +55,6 @@ DCPContentType::setup_dcp_content_types () _dcp_content_types.push_back (new DCPContentType (_("Advertisement"), dcp::ADVERTISEMENT, N_("ADV"))); } -DCPContentType const * -DCPContentType::from_pretty_name (string n) -{ - for (vector::const_iterator i = _dcp_content_types.begin(); i != _dcp_content_types.end(); ++i) { - if ((*i)->pretty_name() == n) { - return *i; - } - } - - return 0; -} - DCPContentType const * DCPContentType::from_isdcf_name (string n) {