summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-16 01:26:19 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-16 01:26:19 +0100
commit0a3de908ae0f62dd8d7d5aaaa96e2ddab891b5a8 (patch)
tree3fedb8afbdd883f2febe22b2801134bde936790b /src/lib
parent09a0d2f170b17c1eef75d334f20e5f5c6d19b1c9 (diff)
Remove unused method.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/dcp_content_type.cc12
-rw-r--r--src/lib/dcp_content_type.h1
2 files changed, 0 insertions, 13 deletions
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
@@ -56,18 +56,6 @@ DCPContentType::setup_dcp_content_types ()
}
DCPContentType const *
-DCPContentType::from_pretty_name (string n)
-{
- for (vector<DCPContentType const *>::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)
{
for (vector<DCPContentType const *>::const_iterator i = _dcp_content_types.begin(); i != _dcp_content_types.end(); ++i) {
diff --git a/src/lib/dcp_content_type.h b/src/lib/dcp_content_type.h
index 5607475c0..2685e6edf 100644
--- a/src/lib/dcp_content_type.h
+++ b/src/lib/dcp_content_type.h
@@ -50,7 +50,6 @@ public:
return _isdcf_name;
}
- static DCPContentType const * from_pretty_name (std::string);
static DCPContentType const * from_isdcf_name (std::string);
static DCPContentType const * from_index (int);
static int as_index (DCPContentType const *);