summaryrefslogtreecommitdiff
path: root/src/dcp_reader.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-10 02:05:56 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-10 02:05:56 +0200
commitf9c3bb397743e2556b55f8f6433aec8e731a81e8 (patch)
tree261ef68758b7c208577fa442df431ca2c9d1e9ba /src/dcp_reader.cc
parent8115d0f378b4c52a2ffca86ef8cfd949e9272d87 (diff)
Use dcp::compose rather than our own.compose
Diffstat (limited to 'src/dcp_reader.cc')
-rw-r--r--src/dcp_reader.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dcp_reader.cc b/src/dcp_reader.cc
index 0c7a29a..673771e 100644
--- a/src/dcp_reader.cc
+++ b/src/dcp_reader.cc
@@ -18,8 +18,8 @@
*/
#include "dcp_reader.h"
-#include "compose.hpp"
#include "exceptions.h"
+#include <dcp/compose.h>
#include <dcp/subtitle_string.h>
#include <dcp/interop_subtitle_asset.h>
#include <dcp/smpte_subtitle_asset.h>
@@ -66,7 +66,7 @@ DCPReader::DCPReader (boost::filesystem::path file)
}
if (!sc) {
- throw DCPError(String::compose("Could not read subtitles (%1 / %2)", interop_error, smpte_error));
+ throw DCPError(dcp::compose("Could not read subtitles (%1 / %2)", interop_error, smpte_error));
}