summaryrefslogtreecommitdiff
path: root/src/reel_interop_text_asset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/reel_interop_text_asset.cc')
-rw-r--r--src/reel_interop_text_asset.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/reel_interop_text_asset.cc b/src/reel_interop_text_asset.cc
index 0f99b614..35bf1d6e 100644
--- a/src/reel_interop_text_asset.cc
+++ b/src/reel_interop_text_asset.cc
@@ -47,6 +47,7 @@ LIBDCP_ENABLE_WARNINGS
using std::make_pair;
using std::pair;
+using std::shared_ptr;
using std::string;
using boost::optional;
using namespace dcp;
@@ -113,3 +114,8 @@ ReelInteropTextAsset::write_to_cpl(xmlpp::Element* node, Standard standard) cons
}
+shared_ptr<ReelTextAsset>
+ReelInteropTextAsset::clone() const
+{
+ return std::make_shared<ReelInteropTextAsset>(*this);
+}