summaryrefslogtreecommitdiff
path: root/src/lib/dcp_subtitle.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-10 02:02:19 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-10 02:02:19 +0200
commit5b0e331380c83ec9835e8aa42fd342b2f0ad275d (patch)
tree13c27f0b3420f5c3a268a5a22a9172675fdc370c /src/lib/dcp_subtitle.cc
parent5d838bc863a7569e68546026c109607fd5a94362 (diff)
Use dcp::compose rather than our own.compose
Diffstat (limited to 'src/lib/dcp_subtitle.cc')
-rw-r--r--src/lib/dcp_subtitle.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dcp_subtitle.cc b/src/lib/dcp_subtitle.cc
index 0943a6b08..21180dc2a 100644
--- a/src/lib/dcp_subtitle.cc
+++ b/src/lib/dcp_subtitle.cc
@@ -21,7 +21,7 @@
#include "dcp_subtitle.h"
#include "exceptions.h"
-#include "compose.hpp"
+#include <dcp/compose.h>
#include <dcp/interop_subtitle_asset.h>
#include <dcp/smpte_subtitle_asset.h>
@@ -56,7 +56,7 @@ DCPSubtitle::load (boost::filesystem::path file) const
}
if (!sc) {
- throw FileError(String::compose(_("Could not read subtitles (%1 / %2)"), interop_error, smpte_error), file);
+ throw FileError(dcp::compose(_("Could not read subtitles (%1 / %2)"), interop_error, smpte_error), file);
}
return sc;