summaryrefslogtreecommitdiff
path: root/src/subtitle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtitle.cc')
-rw-r--r--src/subtitle.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/subtitle.cc b/src/subtitle.cc
index 12714961..c3c5354f 100644
--- a/src/subtitle.cc
+++ b/src/subtitle.cc
@@ -29,7 +29,7 @@ using boost::shared_ptr;
using boost::lexical_cast;
using namespace dcp;
-Subtitle::Subtitle (boost::shared_ptr<const cxml::Node> node)
+Subtitle::Subtitle (cxml::ConstNodePtr node)
{
in = Time (node->string_attribute ("TimeIn"));
out = Time (node->string_attribute ("TimeOut"));
@@ -40,7 +40,7 @@ Subtitle::Subtitle (boost::shared_ptr<const cxml::Node> node)
}
Time
-Subtitle::fade_time (shared_ptr<const cxml::Node> node, string name)
+Subtitle::fade_time (cxml::ConstNodePtr node, string name)
{
string const u = node->optional_string_attribute (name).get_value_or ("");
Time t;