From 62ee85a258aa9329544d8542dfbcc40ce8177a7a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 13 Jan 2013 13:46:20 +0000 Subject: Use boost starts/ends with methods. --- src/dcp.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dcp.cc') 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 #include #include +#include #include #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; } -- cgit v1.2.3