summaryrefslogtreecommitdiff
path: root/src/dcp.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-13 13:46:20 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-13 13:46:20 +0000
commit62ee85a258aa9329544d8542dfbcc40ce8177a7a (patch)
tree8579cd323c127bb3bff23c216a55cc92a7001651 /src/dcp.cc
parentceb30c0b2e73588daa014af57deee7255b175e4d (diff)
Use boost starts/ends with methods.
Diffstat (limited to 'src/dcp.cc')
-rw-r--r--src/dcp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index edb247a5..6c626939 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -27,6 +27,7 @@
#include <cassert>
#include <iostream>
#include <boost/filesystem.hpp>
+#include <boost/algorithm/string.hpp>
#include <libxml++/libxml++.h>
#include "dcp.h"
#include "asset.h"
@@ -197,7 +198,7 @@ DCP::read (bool require_mxfs)
boost::filesystem::path t = _directory;
t /= (*i)->chunks.front()->path;
- if (ends_with (t.string(), ".mxf") || ends_with (t.string(), ".ttf")) {
+ if (boost::algorithm::ends_with (t.string(), ".mxf") || boost::algorithm::ends_with (t.string(), ".ttf")) {
continue;
}